Fixing many compiler identified nits.
15 files changed