Fixed issue #8, to many tabs caused the bug.