find overlay: add debugging information

also ensure that the CCD is not being used while running the procedure in the GUI.