fixes to compile with VC++ Express 2010
completed
compatibility with 3D Max 2013 (requires Unicode strings)