HACK-y tabs stuff subsumed into TabsHack()