improved exception reporting in cli_frontend (nw)