More work on quality switches. Wrote experimental (as-of-yet untested) inlineIf methods supporting two or three scenarios.