Variables not loading

I have a file where I have loaded several permanent variables. I also establish various global variables in the .Initialize procedure. No problem in Pan 6. In Pan X, every time I quit the application and reopen, it claims none of the variables exist and none of the secret databases are open. Very frustrating.

Here’s the procedure (the last three lines replace the “FillLists” procedure):

Global GFxChosen,GFaxNote,GCompany,GTemp,GEmail,GEMailNotes,theMergeFrom,GLookup,GEnterName,GNew,GFrom,GCalDate, GCal
GFxChosen="“
GCompany=”“
GTemp=”“
GEmail=”“
GEMailNotes=”“
GLookup=”“
GEnterName=”“
GNew=”“
GFrom=”"
GCalDate=0
GCal=PContact
OpenSecret "ToDo"
Window "ToDo:Secret"
Call ".Initialize2"
OpenSecret "Correspondence"
Window “Contacts:Contacts”
;Call ".FillLists"
GCompany=Company
SuperObject “SOCN”, "FillList"
SuperObject “SOCP”, “FillList”