working more or less with multiple buddies
fixed problem of only itearing two times in listenThread
first attempt of merging