Clean up OpenGL example a bit