ACCESS: Tweaks to mWhileDoOpen and fixes to pan method