support for tabbar

foreground / background the "wrong" way round because the tabbar
ends up inheriting inverse video