Beginning to make cross-platform
Cross-thread lambda functions fail on win32
Use QGLFunctions to fix OpenGL calls
Adding support for static qt builds
Merge branch 'win32'