Add HotkeyControl.cs.
Code cleanup and improvements to HotkeyControl.cs.