Fix up some debug messages, and the torrent completed status.