Splitted DHTreading/displaying into two functions.