AVALANCHE: Handle closing ScummVM's window in the main menu correctly.