Enhanced to show stdout in the EditText.