I have just discovered where the overview miss click was happening.It was not happening at the time of asteroid locking it was happening at undock.The undock function was clicking at the top of overview straight after undock for some reason.I changed this code with the undock code from Zorro`s script and now it does not click the overview .
So now hopefully thanks to help from using parts of Zorros mining script and the mining script of without the mining script of Diggler will not fail at reading tooltips because it keep trying till the amount of modules is equal to the amount you have added in the mining laser variable at top of script.
It will also not have any miss clicks making it totally reliable unlike the default mining script.
I will post the mining script of Diggler as soon as I know all these bugs are definitely gone and sanderlings reliability is better as I don’t want people contacting me with problems that are actually to do with sanderling and not my script.