Renumber windows appropriately.