Working OpenGL window