put the appropriate html stuff into the appropriate pages, removed redundant headers, footers, scripts
put pretty stuff where it should be, removed redundent code, other beautification
Merge pull request #21 from octopushugs/master

gui stuff