Fix closure output so that it only applies to that run

I mistakenly hacked in the functionality using the current displayStdout functionality
which was incorrect. Needs to only use that function on the output of the current
command, and not set it across the board.