beautifies MarkDown, adds TOC, fixes typos