Improves the html. Still some obvious bugs, but probably all I have time for at the moment. Need to move on to the next project.