Interrupts and delay()

That's the sort of problem I had in mind when I said

I'm wondering if bits are mangled in PORTB that should not be mangled.

I just wasn't looking in the right place.

...R