[[ Bug 12414 ]] Reverse order of window reopening to stop infinite loop ...

...(reopenallwindows).