Added OpenGL context initialization