Added a few more debug-mode print statements