update.

main.cpp clean up. VS2012 config file update.