Added OpenGL initialization