For the first issue, is this when combining potions? How often does it occur?
And for the second issue, was this in one of the long side-tunnels? Was the script trying to walk to a position that was not visible, or was the cursor perhaps hovering near the outline of a door?
As always I appreciate bug reports, but please use the bug report template, and provide as detailed a description as you can