Add handlers for C-u and C-w, use exitSuccess for esc or C-c