Fixes issue with 'displayTitle' not working

On 1.1 'title' was getting displayed incorrectly.
Merge pull request #12 from LearningPool/fix-for-displaytitle

Fixes issue with 'displayTitle' not working