Fixed some invalid xhtml bugs and stuff.