May i suggest pixel search click. You could tell the macro exactly where to click based on the colour of guards. You could navigate around using guard pixels and then get close enough to wh to click on wh man and the other npc to sell.
It would cause problems when the guards move so even clicking on the roof's of the houses around...?!
Just a thought..
Hiyoal
ps. I could always lend a hand in debug coding for the miner aswell. Im pretty well advanced in AutoIt aswell XD.