more cleaning of OpenGL stuff