Fixed crash on exit due to Qt bug 37224 - where multiple QGLWidgets break on OSX by moving NL viewport to non-GL widget - latest Qt version seems to have removed the slow draw that was a problem in 5.0