some small fixes and made header xhtml compliant