Add table of contents to intro, and fix headings