General state engine and stations work

Separate UI loading. switching states in game. Removal of drawState in
favour of simply the front state. etc.