fixed title and footer alignments

Currently the title line wraps and the footer doesn't quit sink to the bottom of the page.  This PR aims at fixing these problems.