improve ^R redraw line of input to actually redraw and erase.
fix bugs in monitor/CPU interface.