New Table of Contents and section headings. Moved code around.