Pulled UI code out to separate file.
Define AnalogueGRect in the right place.
Removed debug stuff.
Removed more debug gumpf.