Added window reordering.