Fix #369, #388, #392: turn off -auto_restore_new_window_to_last_capture by default Fix wrong matching of new and closed window Fix miss capture of maximized window (#388)