stacktrans: handle SIGABRT and CLI mode