example opengl triangle working.  Further clean up of Waterfallgl code to get ready to be converted from QGLWidget to QWindow