fixed a bunch of small errors (like unclosed tags, etc)