the immediate shutdown of image_demo was not cuased by fast machine, rather a keyup event sent to the demo for certain desktop environments had it shut down. Changed quit to be from any key except space and p to only escape key quits