Added garbage collection for psams, genes, genomes, and pops