Test for a title before outputting an H1.

Resolves issue #86