bring title reformatting functionality from arvensis. closes #1