Some small changes to IO behaviour.

Skip reading from STDIN (which might might be closed) and print "Bye Bye" to
stderr (to prevent it from being mingled with the output stream).