minor fixes to peertopeer demo