By searching in Process Explorer I can see that it is XnView itself which is maintaining a handle on the folder I am trying to rename. Within Process Explorer I can close out the handle by force and violence

Has anyone else ever noticed persistant locks like this? Am I somehow using XnView improperly? Or--just thought of this--is it a problem introduced by using the portable edition from portableapps.com? Is there a setting I don't know about that would tell XnView always, always to release the lock on a directory/folder when all images in that folder have been closed and the browser has navigated away from it?
Thanks very much for advice! - Jim
details: Windows 7 ultimate, XnView 1.99.6 portable. (I use portable versions whenever I possably can in an effort to keep the awful ~\winsxs\ directory tree from growing to unmanageable size.)