Renumber windows sequentially after closing any of them