Tofe/work

Some architecture rework for the window manager (switch to a state machine description), and some refactoring for the dashboard.
Also, I'm trying to introduce a SlidingItemArea component.