refactoring
openTabs is now Object