Add exit/pause-on-change options.

Also sets up exec (as for exit-on-*), but it too is not hooked up yet.