[MOD] Fixed unit spawning/building so it accuratley uses threads.