improving curses client to diagnose problems