Prevent opening multiple console tabs.
Merge pull request #1327 from spelufo/master

Prevent opening multiple console tabs.