added support for multiple devices in loadlogs(), added fixes when searching through logs where no usb devices were found