That closing thing is really disturbing. I'm wondering if that's not a source of failures...
So TabClose is sent before the tab is actually removed. So I can easily stuff fail because of this.
Shouldn't we tune tabbrowser.xml > _endRemoveTab in order to dispatch a TabClosed event and listen for it?