Fixed a loop causing a compiler warning about unused variable.
Various settings changes related to new Xcode warnings.