Needless to say, this uncovers a few new bugs. These are mainly in the various log methods, and they are all fixed by this merge request.
log