nlock could do with better debug logging, which would be especially helpful for #25, and similar issues that arise.