Use "\r" when doing debug output
clear to eol for debug count