Tidy up HTML errors in INDEX.PHP

Without any "widgets" selected, the Dashboard (i.e. INDEX.PHP) produces 230+ HTML errors, so:

Remove the "closehead" php variable, not necessary
Close INPUT, BR and IMG tags
Add ALT parameter to IMG tags
Add CDATA sections to SCRIPT tags