New base class for tab

The "Compare" tab gets to test drive the new base class for tabs.  I
think it will be a better long term model (still needs tweaks) for
adding elements to a tab.