Undid earlier modifications to temp paths.  Tried to improve debug output of subprocesses.
Instrument workcache and have it warn if you attempt to overwrite another db that almost certainly belongs to someone else.