fix strange deadlock on AddItem; remove debug logging, fmt'd
Logging to real filesystem feature

If conf/LogDir is set, all logs are written to the files in that dir.