can you set current document crrDocFr to nothing? To me this seems to relate to what ever is left over in memory as the active document.