Automatically switches to the best matched window in the background while typing