Replaced freeglut with GLFW