Fix minor typos and improve grammar and code formatting

[ci skip]
My initial intent was to fix the typos, but yes, while we're at it, I do think your suggestions are better :cake: