Simplified and fixed import.

The window handle is no longer part of hashes.
Moved native methods outside of Hotkey.
Added a logger class.