Recovery from underflow seems to be working (at least on the one known machine with slow generator). Uncrustified code.