* added entity_s::init()
* use getNextCont
* avoid INVDEF