Fixes multiple tab bug (issue #16)
Merge pull request #17 from Nbblrr/master

Fixes multiple tab bug (issue #16)