Added delay to update function.
Added PriorityQueue. Updated worker ai.
Fixed all my broken stuff.