Some fairly obvious performance tweaks in draw loop. Fixing Objective-C++ errors in latest XCode. Removing unnecessary files