Fixed #620 not print the amb tree with a cycle

Except if all the trees contain a cycle.
Renabled importing Exceptions in IO

Seems to be a test code thing from the compiler effort
Fixed sdf2 importer forgotten case (X) => X