hack in an event log system to avoid dbfile locks
Move prepares near use points