Runs go fmt over the source tree.
Fixes some minor bugs.