A couple of no-brainer style fixes

fixed a small bug in the pre-commit hook and on that occasion removed a bunch of "go vet" warnings as well as some comment double spaces. PR mostly for myself to make sure I didn't accidentally `sed` anything else.