added mutex locks for nuiDataStream::processData