Added opengl window instead of generating bmp