Hrm ok.
You've changed quite a lot.

I can see how it's better though.

If I'dve been organising it to run along-side another global script, I'dve changed the while parts into ifs so that it all ran on the same waitframe.
But fair enough.