Renamed UnitRef -> IUnit and fixed bug that allowed units to move while dead