private void mainWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     hook.Unhook();
 }