some typo fixes

I fixed some typos and made a couple of minor stylistic changes.