I think the file-close bug happens when attempting to close a file that uses "page" objects, where the sub-pages are closed. I've found that by opening the sub-page first, the file-close operation works.
(But then things are strange after that).
It may also be specifically related to the use of array in subpages, but I haven't narrowed it down to non-array subpages.
Larry
-- Larry Troxler -- lt@westnet.com -- Patterson, NY USA --