I added "display memory to file" to both the form destroy and the oApp destroy with appropriate names. The file fopr oApp has no variables outstanding. The form does, listed below:
blank Priv L .F. main
GSPARAM3 Priv C "" main
LPARMFAIL Local L .F. main
LDEVENVIR Local L .F. main
LSUCCESS Local L .F. main
OAPP Priv O CURRAPP main
CFORM_TO_RUN
blank Local C "frmMenu" oApp.runapp
FRMMENU Priv O .NULL. oApp.runapp
Hope this gives you a clue.
Extreme Programming = Plan -> Design -> Code -> Test