Bugfixes and enhancements.

* Add proper centering for header and footer
* Fixes for floats, especially on tablets
* Tweaks to padding/margin/width layout, to pprivide greater flexibility
and less breaking