Moved EnsurePMRRR() higher up the include chain. Improvements to all of the SWIG wrappers, including converting getter/setter functions to properties