This PR fixes some typos and polishes trivial stuff.

Comment From: wilkinsona

Thanks very much, @izeye.