Cleanup GL wrapper
Some cleanup and const-correctness