Save the compiled result between passes and make the run button simply execute the last compiled function, which means there's no mismatch between what's executed and what's visible on the right textarea.