Debug and tracking print statements

Trying to understand better how the code from the original FileMQ
works, so I added more debug print statements to watch the flow
of the code.