Various documentation improvements.

Also removes some dead or obviously unecessary code.
Merge pull request #197 from marcjansen/even-more-docs

Various documentation improvements.