made AssignNewUnit return a boolean telling whether it did assign a new unit
minor changes
minor changes