Bug 991934 - Only listen for tabs once, and clean up too. r=paul, f=janx