If you have many windows open, and you want to close all but one, use the Close All But This option in the Window List.