Corrected page title handling.
Merge pull request #5 from pjackson28/master

Corrected page title handling.
Fixed endunless typo.
Merge pull request #6 from pjackson28/master

Fixed endunless typo