Got to stage where UI is displaying and display results.
Moved away from hand-coding low-level keyboard hooks and now using ManagedWinApi nuget package to register global hotkeys.