altered Semaphore to Monitor class

ideal for Xbox 360