fixed bug in Sequencer and Semaphore. redesigned Sequencer to work on completes before instead of happens before. comments