Fix nesting issues, display of footer and slabs

Fix issues with improper nesting and missing tags.
Remove preceding space on several list items
Remove trailing spaces and run markup through html beautifier