fix strncmp arguments, have work_queue_worker start as many tasks as it can instead of one per loop in work_for_master()