Fixes issues warned about by Xcode 4.6. Plus Xcode 4.6 project compatibility update.