Added support for plug in/out of devices
!!! Destroy wnd receiver probably cos of call on different thread with the CreateWindow