Swapped out print statements for proper logger logs

Preempting @guillermo-carrasco and @mariogiov by putting in proper logging instead of printing to stderr.
It's funny how you start this file as a perl programmer and end it as a Pythonista