Doubleclick on tab makes it permanent

Closes #16.