Starting to answer my own questions. For those interested, spend some time and read up on the different types of functions - nested, primary, subfunctions, etc. anonymous functions specifically. Realize that anonymous ftn handles pick up variables in scope when they are created. Understand variable scope in nested ftns. And, finally, realize that addlistener must be called with a OBJECT of the type defining the event. NOT a class reference even if the class has static methods to invoke the events.