     /**
      * Configure a bridge from something like a pop-up window to an alternate target.
      */
-    public static function configureBridge (source :IEventDispatcher, target :IEventDispatcher) :void
+    public static function configureBridge (
+        source :IEventDispatcher, target :IEventDispatcher) :void
     {
         source.addEventListener(COMMAND,
             function (event :CommandEvent) :void {

            // Dispatch it. A return value of true means that the event was
            // never cancelled, so we complain.
            if (disp == null || disp.dispatchEvent(event)) {
                Log.getLog(CommandEvent).warning("Unhandled controller command " +
                    "[cmd=" + cmd + ", arg=" + arg + ", disp=" + disp + "].");
            }

        } else {

            } else {
                args = [ arg ];
            }

            // now trying calling it
            var err :Error = null;
            try {
                fn.apply(null, args);

// Commented out 2008-12-09 by Ray. I'm not sure we need this, it seems you can pass args
// to an argless function without error.
//            } catch (ae :ArgumentError) {
//                if (arg is Boolean) {
//                    // try with no args
//                    try {
//                        fn();
//                    } catch (e2 :Error) {
//                        err = e2;
//                    }
//                } else {
//                    err = ae;
//                }

            } catch (e :Error) {
                err = e;
            }
            if (err != null) {
                Log.getLog(CommandEvent).warning("Unable to call callback.", err);
            }

        } else if (cmdOrFn is String) {
