fixed #3: 'exit' closes active tab only