next batch of XHTML validation fixes. somebody really hates markup languages here...