fixed the tab switch closes all tabs-bug (issue #190)
Merge pull request #195 from GameScripting/TabsBug

fixed the tab switch closes all tabs-bug (issue #190)