My JRT is so smart that she scares me. A few years she figured out how to unlock and open a window, and did so while I was out of the house. She then figured out how to take a dowel out of window jamb (prior to unlocking and opening the window). When I finally got the window to stay closed (curtain rod where she couldn't reach it), she got even by widdling on my bed.
My condolences re the stroke. I'll give Janey an extra hug and pat for you.
FReegards,
Slings and Arrows