Use ellipses, not ....
Remove printf.
Show HID error as a sheet so the main window still appears.
Remove unused field.