Added a ton of documentation and made a few small changes.

The changes are described in the new ChangeLog.md.