Cleaning up for use in tooling
Builds under vc2012
Preparing for work on terrain files