Fixes a few typos and some whitespace

Just some things I came across while reading this today.