drh, in process, lib event fix (unstable)