Lots of small improvements to the new logger