Visual C++ 6 support restored, miscellaneous bug fixes, renamed some utility functions for consistency, bug fixes, add Windows XP support to Visual Studio 2012/2013