Corrected automatic old-game closing code.