gazengine merge #1
Updated for use with OpenGL 4.x