Swapped out print statements for proper logger logs

Preempting @guillermo-carrasco and @mariogiov by putting in proper logging instead of printing to stderr.
@ewels is right, if the tuple expression on the right has more than two value, @mariogiov 's solution will bomb. And it looks Perlish to me (which is not a good thing). That '_', yieech! I definitely prefer the [0].