Bug fixes to the html.