bugfix, log tweak, and another tweak.