Regenerate the Xcode project and some cleanup for levels