Handle events so that the app survives losing focus. It's a demo, so don't do that, or fix it! :)
Handle events so that the app survives losing focus. It's a demo, so don't do that, or fix it! :)