fixed QGLWidget issues, rendering now works