Complete retooling of cond variables using queueing separate from sem. Corner case handling, passed test03.