A bundle of warnings cleanup, standards fixes, sanity checks and good
stuff.