Make main loop catch and release usb for every message
Fix integer precision losses in usb