While it's always tempting to just blow off an intermittent code as a "computer glitch", in my experience it rarely is just a one time glitch unless the codes were set when tuning or doing diagnostic tests.
If you don't want to take it to the dealership under warranty, I can understand that. Taking time to get the bike there and either waiting for them to get it in and work on it, or having to leave it, only to be told they couldn't duplicate the problem, does get frustrating. I'd still suggest, as Don did, going through the ritual just to get it on record, but to each his own.
Since the lady behind your wife mentioned the tail lights going out, I think I'd start my search at the rear of the bike and work forward. First look for obvious harness damage, not uncommon in the rear fender due to contact with the rear tire when the harness isn't secured properly. That sort of thing should be obvious, and if you find such damage you could then take it in and show the dealership the problem, or fix it yourself if you're so inclined. If there is no obvious damage, then the fun part begins. With the lights on (switch on, engine off), have someone watch the rear lights while you start wiggling connections and the harness, starting at the rear lights and working forward. If the lights flicker or go out, odds are you've found the problem. Once again, either take it to the dealership and show them, or fix it yourself if you are comfortable doing wiring repairs.
Good luck.
Jerry