Handles escapes with graphical exit.