There are two bugs which have been plaguing users of the mod for many months now, though rare it still happens to a lot of people.
First is the retreat table being nil, i have put guards in against that to catch the issue and fix it.
Second is the squad removaltick value not being there for a particular member of a squad - this has been caught in code and should self-correct.
Thank you for playing the mod!