Working global priority scheduler
fixes bug with notifying other workers when new work arrives