Seperate GlobalKeyHook code from MainForm.cs