Clean up

* Modernize Xcode project settings
* Enable many useful warnings
* Delete a bunch of unneeded code