Trap now only catches SIGINT; correct the script always exitting with status 1
UI now returns a value for 'exit' menu selection instead of actually exitting