private void btnShowLog_Click(object sender, EventArgs e)
 {
     var logWindow = new LogWindow();
     logWindow.SetLog(this.core.GetLogMessages());
     logWindow.ShowDialog();
     logWindow.Dispose();
 }