A few minor style fixes

I've fixed a few minor problems that I saw. I'd suggest running `M-x checkdoc` and correcting the problems reported by it (I'm not familiar with the code, otherwise I would have filled in the blanks in the docs myself).