added much logging to try to chase down an issue in the listener