gui: adapt to existing AbstractView and ViewStack (but copied to ui/gui), STM32F4 example may be broken for now