Ah yes, I knew about Tool ordering mod, I just didn't know what it's for. That's exactly what I needed, thanks!
As for soldiers occupying huts you should take into account how many enemies can attack a hut. You could use a simple formula like this:
need = enemies + slots + importance, where:
need = the priority of a hut;
enemies = how many enemy soldiers can attack that hut with settings considered at max;
slots = how many empty slots has the hut, this is affected by current settings;
importance = how many friendly buildings are defended by this hut;
(all these could have some coefficients for tweaking;
Then, when a soldier is ready, you find the hut with the highest need and send him there instead of filling huts at the edge of the map where no one can attack. I know for sure I didn't have this problem with the original game, somehow the soldiers were sent right where I needed them.
There is also the problem with the economy not being fine-tuned yet, some vital buildings like the Sawmill or Iron Smelter are working much slower which in return are slowing down the whole system.
Anyway, this isn't critique, please take it as feedback, you guys did awesome work so far!