fixed circular dependency in unit/player, added clear/erase commands