Maze solver "stop" method?

Thats got it!

thanks for your help guys, its really appreciated.
funny how these things are easy when you know how, and its the details that make the difference.