Add lockfile
Add explicit config reloading
Reduce debug output

The new output makes concurrency issues more obvious.