Improve the documentation a bit

I've fixed a few errors and reworded some portions of the documentation to make it easier to understand.