some more work on GLX init, probably abandoning and moving to GLFW