Adjust heading levels, add menu metadata, misc. fixes.
Merge pull request #142 from monetas/fix-headings

Adjust heading levels for single-doc output, add menu metadata, misc. fixes.