remove legacy statusbar code