Fixed bug #62

When closing tb, should not also select it