Updated to now use OpenGL 2.1 for rendering.