Moved title, version and menu into variables.
Moved headers into a variable, added some flavor text, and random small fixes and modifications.