Corrections to the HTML so the it will validate and general format changes so the source is more legible