Completed Standard in, with notification of when we're awaiting IO

We can get away with the things we do simply because we’re in complete
control of the debugee’s stdin.

Possible (most probably) refactoring needed
Small code tidy up
Code tidy up again