Turn on a bunch of warnings and fix them