beam/examples/beamsh: fix 'print' to be pass-through
beam/examples/beamsh: add scripts to reproduce various bugs