Small cleanups of the OpenGL section.