Code modernization for 10.8 compatibility (though only 32-bit)
Modernization, pt. 2. Deprecations remain in XTVD stuff, having to do with WS... function calls; add to that the infamous poseAsClass.
Merge pull request #1 from ah76648/master

merge in 10.8 work