Added OpenGL initialization code