update GLFW 2 names to GLFW 3 names

For details, see http://www.glfw.org/docs/3.0/moving.html .