GUI and state rendering

The gui system is working and components can be added now. Render
methods in states are called on state change. Next implement graphics
drawing with paint component.