Fixes windows threading.
Tweaking API
nits
Introduce chrome.hid.* API.