Bug 966357 - allow stripListeners to work even when passed undefined, fi...

...xes Panel() breaking when called without errors