Cleaned up a few compiler warnings. Converted to Xcode 4.6.2 and Aperture SDK 3.4