Better tab/focus support

See #15