Overdue XCode automatic refactor for ARC and modern Objective C syntax.
Almost no testing performed.