Word wrap, better frontmatter detection