Added some debug messages. Trying to fix cb_dl and cb_progress