Fixed a bunch of HTML bugs in the layout