Remove window before working out new current window; clear last window if necessary.

1 file changed