beam/examples/beamsh: better debugging messages