cleaned up tabbedpane (closes #3)