-Fixed some stuff related to result output. I'm wanting to interleave stdout with the relevant call in multi-result boxes, but not sure how worth-it this is for that edge case (remember, most of the time, we're just keeping the last result)
-Factored capturing-output into a separate macro