Change: numerous compile fixes including...

* change most CPP files to Objective-C/C++ so we can compile with the appropriate flag
* casts of stl container iterators to pointers (not the safest, but maintains existing behavior)
* disable 64 -> 32-bit loss of precision warnings
* comment out GUI stuff with a guard for now
* macro usage and such to get rid of warnings temporarily
* removed some old carbon methods for basic framework stuff