Fixed a problem with rendering headers and footers.
Merge branch 'master' of https://github.com/Crockeo/crocode