private void Window_Closed(object sender, EventArgs e)
 {
     CKernelTerminal.SaveTerminalProperties();
 }