assorted formatting and typo fixes

mostly identified by `go tool vet`
Nope, I'm OK with that.