minor changes to yarp thread .cpp files