This patch addresses:
It changes the file change notification dialogs to appear only when the tab containing the changed file is focused.
The fix is also available in my repository
The fix uncovers a problem in the tab switcher. I have included a simple fix for that as well (also available in my repo).