Resolve various compiler warnings generated from XCode tool chain.  Credit goes to Alexander Dale for contributing these fix-ups.