/// <summary>
 /// Calls the LogLines event handler with GUI thread safety.
 /// </summary>
 /// <param name="e">The event arguments.</param>
 protected virtual void OnLogLines(LogLinesEventArgs e)
 {
     if (LogLines != null)
     {
         // Call with GUI thread safety
         LogLines.GetInvocationList().InvokeEventGUIThreadSafe(this, e);
     }
 }