refactored main loop, used TabList/Tab objects to clean it up - also added TabController.createTabs
Changed createTabs to generate session instead of main loop code and added option param to tabList

Renamed createTabs to saveTabList
Merge pull request #20 from darrenmce/master

added duplicate removal