tap threshold for pan; cleanup; ref #636