Added footnotes 'framework'
Transferred footnotes inline.
Tweaked footnote hiding. Added concise TOC to the index page.