Tidy up the logging (spurious print).  Added a comment to where the
program blocks for future reference.