public void AddMessage(string message, bool includeNewLine = true) { MessageOutput.AppendText(message); if (includeNewLine) { MessageOutput.AppendText(Environment.NewLine); } MessageOutput.ScrollToEnd(); Debug.WriteLine(message); }