altosui: provide separate flush_input/flush_output for serial. deal with monitor...