I needed to breakl out of a process is it twas getting boring, so I just set a global variable from the gui. Click the Pause button, it sets a variable to 1 (paused).
Then when your loop finds the gl ...
I have written this to sort out anagrams and a few other word puzzles. Uses the Words.db that was mentioned in another post. Put both in the same folder, or find the Words.db in the file and add a fol ...