Massive logging enhancements

Finally went through and made the logging of the QL pipeline halfway
usable for debugging.  This wound up touching a good deal of code --
introduced the concept of "debugRender" in a bunch of places.