Add statusbar (WIP)
Refactoring for hosted mode