Made tabbed panes work properly.