Changed from SDL and glut to glfw.