Tabs now still work when the table changes

Your data structures got a little bit out of hand, and for some reason new tab items were being garbage collected when the table changed.

This fixes that problem.