Fixed bugs

Corrected several issues with unclosed tags. Added !DOCTYPE and meta.