Autodetect name, record DHT failure rate, fix debug printing.