#95 Fix logging contexts, and thread naming.

 As well as clarifying some log messages.