Change handling of named event codes.  A poor man's implementation of David's
idea from
https://github.com/NUBIC/ncs_navigator_core/commit/83a2fa5d6e238beae902e71ceaa13fe7062b4595#commitcomment-2515609