regression fixes: + improve resetting of callin/-out flags in the Scanner + restore OT variant of Keywords.WHEN for "when ()" proposals