Since the stderr >>> prompt didn't work very well to demarcate command responses, I added a header and footer to the command response, which are just "COMMAND START" and "COMMAND END". Which is pretty lame because these strings could appear somewhere in the normal output. Making them more unique and making the regex test that looks for them a little more explicit would be better.