WIP: replace 'print' with debug logging
WIP: start logging debug messages