Improves documentation style, TOC, fixes links.

Some links will become broken in GitHub.