Export to GEDcom

I have been attempting to make an export to Gedcom file option, so that if you import your unknown matches, and using the different options you start to think that you might be getting somewhere, you can click the button to “Export to Gedcom”, then import that file as a new tree into whichever system you use, and think about filling in the unknown blanks.
I am still working on this, but its working enough to leave the button on the page, and I will change and add to it this feature later