Fix links to headers.
Tidy up spelling, markup, links.