Tweaked DOSBox code for process memory cleanup to prevent infinite loops in case of MCB chain corruption (seen occasionally with Tyrian 2000.)