problems found and fixed

Big problems!:

xcoh: previously main elem should was allocated/deallocated again and
again...

subxcoh: previously edge status partition did not allow elfail1
status...

now all fixed...