Added title preprocessing

Fixes #3380

@aaronschachter 
Woops, made a new line here on accident when debugging - want me to remove this or no big deal?