That's right. VFP releases object reference before releasing an object.
Try to call Destroy method from Release method of main form. This will release child windows before main window.
/A new technology turns into completely outdated stuff before you have a time to read "Getting Started..." section.
/If there are some "system programmers" then others are unsystematic.