add a delay for debugging primarily
moves to a thread-based model for io from commands

still pukes