Reorganized OpenGL Context