Ah. Avoid using Input.
It uses the built-in input routine provided by TI-OS, so you get to use all the menus, and stuff, but there's nothing that prevents the user from hitting 2nd-quit and terminating your program in the middle of something. You should probably make your own input routine, instead. It's a major hassle, but it's safer.