Some general usbdmx tidying up, to ensure this gets merged sooner, to make life easier later on

My preference would be to put this in a separate class LibUsbCommon ? Having the Port call back into the Plugin feels messy.