A dozen or so small changes, which should have no effect other than that they fixed compiler warnings and errors that started when I moved to Xcode 6.0 and then 6.1, and switched on a couple more warnings which were recommended.  Also some issues may be due to using OS X 10.10 SDK?