Added the code for switching tabs.  Made the tab workers more centralized instead of passing them around.
Tons more fixes for the widget