Improve security by using repr(user) in peerStat
Use format string for peerStat
Minor corrections in peerStat