Optional notification badge
Don't auto-focus new query windows
Added exit confirmation