Separate GL grabbing logic and refactor GLX magic