fixed tabbing/spacing issues, unclosed tags, and an overlapping tag problem