split console-output into multiple pieces; start rewrite of input routines