Improve destructor: do nothing with not private tabs
fixTabState() for pending tabs are buggy with Tree Style Tab