Stop with appropriate status codes

Unix programs should stop on an interrupt with 128 + `n` where `n` is the
signal number. This adds support for interrupt on SIGINT, SIGKILL, and
SIGTERM.