Fix headers and footers being strtolower()'ed.  Fix headers being set to the footer.