Cleaned up and updated docs.
Cleaned up extra spaces at the end of a line in some files.