moving some more stuff out of the big php string
moving some more stuff out of the big php string
moving some more stuff out of the big php string
attempt at removing big sidebar block
move gauge variable definition out of updatemarkers
separated html from php in index.php. appears to not break anything.