Switched from freeglut to glfw3. Abandoned init function for now.