updating a couple of places where output was printed to the screen, rather than being written to stdout; fixes #61