Changed code to use QGLView in place of QWindow.
Deleted OpenGLWindow class, since we are using QGLView now.