Change the Library from GLUT to freeGLUT (2013 version)

Also improves code readability