excellent - you got that far - very impressed.
You've given me a lot to chew over in superb detail. I'll get onto fixing the bugs/features.
There is a wait key - press 'P'. It's not listed in the controls