cache: thread mutex locking debugging mode
cache: debug lock times
cache: debug and fix long blocking gui thread latencies