work tasks cleaned up, mutexes removed.  threading code still needs same and out-of-order db/iterator close requires coding.