Cleaning up chapter titles and headings