Add hidden search for the focuser
Added mouseup detection on the document

This goes back to using `mouseup` event detection on the document,
instead of `click`, which is often blocked, or a mask, which often
causes confusion.
Better local click detection when closing