change threshold corrections on/off switch to loop order choice

continued