Thank you! I didn't know that about `SystemExit`. Turns out it also avoids handling `KeyboardInterrupt`, which, as you can see, was a bug in an earlier version of the code. That'll teach me to think I know Python :)