                     return status.isValid;
             });
 
-
             var status :DocStatus = _libraries.selectedItem as DocStatus;
             _win.preview.enabled = status != null && status.isValid;
 

            else saveConf();
        });

        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) {

        _exportChooser = new DirChooser(null, _win.exportRoot, _win.browseExport);
        _exportChooser.changed.add(updatePreviewAndExport);

        _importChooser.changed.add(F.callback(updateWindowTitle, true));
        _exportChooser.changed.add(F.callback(updateWindowTitle, true));

        function updatePublisher (..._) :void {
            if (_confFile != null) {
                _importChooser.dir = (_conf.importDir != null) ? _confFile.parent.resolvePath(_conf.importDir) : null;
