Remove some bogus code.
Log some stuff to avoid long lines.