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

Also set MEP 3 and MEP 5 to Accepted. Sorry for the long diff.