Demand GLX_WINDOW_BIT and see if that gets rid of some BadMatch errors.
Remove unused variable.
Reduce risk of some creepy core clobbering something important.
Split this thing.