Fix OpenGL errors with multiple windows

The QGLFormat was changing between the initial window creation and any
subsequent window creations.  The higher profile was causing errors for
whatever reason. I will still look into why.