Janitorial Work

- Break up long code lines
- Rename some critic definitions
- Adjust some comments
Allow slugify to be set in headeranchor extension
Use custom slugify