Fixed a bunch of typos and made some other changes

I have fixed a bunch of typos, and I also made some other slight changes.