Fixed a bug with deleting array pointers.
Fixed a bug with creating the directed graph from isoworld.