building a new ship just below your current was losing the unit.

reorder_units is a messy function that needed a fix.
Merge remote-tracking branch 'origin/atlas'