FIX: Some instability/crashes
CHANGE: Factories now use the same system for determining whether they have available jobs as other buildings