First draft of a stacktrace/build output rewriting mechanism.