fix #27 Ctrl+D on a new window closes all windows