migrate GLFW3
migrate to VS2013
update Makefile
restore vc2010 project
update main.cpp
move cleanup() just before main()
update Xcode project
include cstdlib in main.cpp