private void OutputCallbackMethod(String output) { lock (tempOutput) { tempOutput.Append(output); } }