removes widgets - generic widget library doesn't seem worth it
changes TabContainer to keep track of the current tab for switching tabs