Final touches on IO prox and HID prox demod

makes both more robust and handles various error situations.