Fix handling of TTY emulation line wrapping when nrows > 1.
Add infastructure for TtyEmulator to update backing only after input is done.
Document $u_main.
Document that $ay_TtyEmulator_dirty must be the same length as $aaz_TtyEmulator_screen.