Create a window with an OpenGL context