First cut at a somewhat fault-tolerant database actor, and fixed to existing Berkeley Db backend.