beremiz

bugfix: On Windows, sometimes the the wrong line in the service discovery list control is updated when multiple services are displayed and a new service is discovered.
import time,sys
def myprintfunc(arg):
print arg
sys.stdout.flush()
return arg