Switch from QGLWidget to OpenGLSurface