Add live hash rate calculation debug output, fix usb uninit