Hi,
Eeek, the attached patch included a trivial last minute screwup(dereferencing bistate unconditionally...). Fixed version attached.
Andres