             else saveConf();
         });
 
+        function updateWindowTitle (modified :Boolean) :void {
+            var name :String = (_confFile != null) ? _confFile.name : "Untitled";
+            if (modified) name += "*";
+            _win.title = name;
+        };
+
         function openConf () :void {
             try {
                 _conf = FlumpConf.fromJSON(JSONFormat.readJSON(_confFile));
-                _win.title = _confFile.name;
                 var dir :String = _confFile.parent.resolvePath(_conf.importDir).nativePath;
                 setImport(new File(dir));
             } catch (e :Error) {

                _confFile = file;
                openConf();
                updatePublisher();
            });
            file.browseForOpen("Open Flump Configuration");
        });

        });

        updatePublisher();
        updateWindowTitle(false);
        _win.addEventListener(Event.CLOSE, function (..._) :void { NA.exit(0); });
    }

