cocoa: tabs improvements