Here's the patch I stripped out of my hackers post from Monday (that stillhasn't shown up).
This is for discussion of approach, not for immediate application,alothugh it does pass all the regresion tests.
Ross