Added in a lot of MacOSX support. SmartPointers, RTTI for Base, and numerous updates