display non-zero return code again

due to the added timing, the return code were not displayed anymore.

This PR reenables this and (in a second commit) wraps the return code in square brackets to make them easier parseable.