Debugged send_buffer
Also added debug_print instead of standard print for all dsr prints