Using IoCallStack class now, debugging unrelated problem with io_vm LikeMagic object.
Fixed ToIo converters (had from and to types swapped) and improved the print_graph() debugging function.