First test of semaphore, fixed some bugs and typos
No longer use manager for queue handlers, we don't use multiple processes anymore