the doctor uses a protein serum to cure romana, and they determine from research in the ship's science unit that the ship has been maintained for 40,000 generations by a species that has three aspects; spiders, marshmen, and the current humanoids. they are all from the same dna and thus have come "full circle". this is the real secret of the system files.