Mike, The bug appears (I'm checking this more closely) to be that CloseDocument() is not called when switching from one document to another, so ReleaseUncompressKey() is never called. I'm not sure how to "fix" this -- shouldn't it be called whenever you leave a document? I did, however, insert a call to ReleaseUncompressKey() in OpenDocument(), which is a reasonable work-around. I've checked that in.
Bill
