moved semaphores to seats.h, added locking to standby