Terminal I/O Tested

Testing of shell entry via stdin, and terminal output via stdout.
Threads also seem to be working happily.