Changed the gexf write out

Graph is written before respawned vertices are removed. This prevents vertices
that respawn in the first tick to be erased from the final graph.