now have function to get window style based on FreeGLUT's stateflag