Streamlined RxPortToFile to maximize portability.  Cleaneup exit so shuts down USB cleanly.  Added timeout on usb event polling.