tty: implement ^U (clear text).
Dump some logs to the console if using curses when exiting due to error.
Remove duplicate SMP compile definition.