BTW, I'm attaching another patch that makes the tab bar behave closer to other programs. I've explained the behaviour in the commit message. WDYT?