Moving #defines between header files.
Don't need hid protocol header in app any more.
Change to integer card handle.
Make libopen8055 thread safe on Win32