Observation and Question:
O: I see that your code is only allowing a single event through at a time, for example I occasionally need to reissue a particular X10 command to a device (or a device has been set to another state by another means [eg remote timer etc]).
Q: where is this in your code and can it be commented/disabled ?
Are there any other ramifications if this is done (that you are aware of )?