Fixed AppendText never calling callback.