Fix code formatting across some files

This is a huge commit. Sorry about that, but y'all've GOT to remember to
run Ctrl+Shift+F on your code before committing.