Hope is here!
The Eventsstopescending property! It has a few problems, but you can break the methods of any object by going into it's seldom used properties and setting the Eventsstopescending property to TRUE!
As I said. It does have a few glitches, but give it a try, It might work out.
Or another way to do it is just use a boolean variable inside the loop. All you have to do is put an if/else statement inside an infinite loop, and place a boolean variable inside it. Have when a key is typed, Your boolean variable set value to False. It will stop.
Either way, hope it works out for you, I'm intrested to see what your world is going to be like.