MainForm.cs: inverted if statement in keyboard hook