Upgrade to Xcode 5.1
Fix warnings from the Analyzer
* Remove the requirement for a newline at the end of the file
* Remove unused variables/functions
Remove the “texture type” nonsense