[minor] Bunch of debug messages
[fix] Fixed double done references, thanks @lpinca