entity.c _generate_id() now adds to exists_pool -- fixes bug