more copyediting in distributed data structures

Lock, IAtomic through iSemaphore