now renumbers windows automatically starting at 1