Index: /applications/editors/josm/plugins/pdfimport/build.xml
===================================================================
--- /applications/editors/josm/plugins/pdfimport/build.xml	(revision 34200)
+++ /applications/editors/josm/plugins/pdfimport/build.xml	(revision 34201)
@@ -2,5 +2,5 @@
 <project name="pdfimport" default="dist" basedir=".">
     <!-- enter the SVN commit message -->
-    <property name="commit.message" value="Initial pdfimport version"/>
+    <property name="commit.message" value=""/>
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
     <property name="plugin.main.version" value="12678"/>
@@ -11,5 +11,5 @@
     <property name="plugin.author" value="extropy"/>
     <property name="plugin.class" value="pdfimport.PdfImportPlugin"/>
-    <property name="plugin.description" value="Import PDF file and convert to ways."/>
+    <property name="plugin.description" value="Import PDF file into a layer and convert pdf lines to ways."/>
     <property name="plugin.icon" value="images/pdf_import.png"/>
     <!--<property name="plugin.link" value="..."/>-->
Index: /applications/editors/josm/plugins/pdfimport/src/pdfimport/LoadPdfDialog.java
===================================================================
--- /applications/editors/josm/plugins/pdfimport/src/pdfimport/LoadPdfDialog.java	(revision 34200)
+++ /applications/editors/josm/plugins/pdfimport/src/pdfimport/LoadPdfDialog.java	(revision 34201)
@@ -50,4 +50,5 @@
 import org.openstreetmap.josm.data.osm.Node;
 import org.openstreetmap.josm.data.osm.OsmPrimitive;
+import org.openstreetmap.josm.data.osm.UploadPolicy;
 import org.openstreetmap.josm.gui.MainApplication;
 import org.openstreetmap.josm.gui.SideButton;
@@ -570,8 +571,9 @@
                         data = loadPDF(newFileName, monitor.createSubTaskMonitor(500, false));
                         OsmBuilder.Mode mode = LoadPdfDialog.this.debugModeCheck.isSelected() ? OsmBuilder.Mode.Debug : OsmBuilder.Mode.Draft;
+//                        OsmBuilder.Mode mode = Logging.isDebugEnabled() ? OsmBuilder.Mode.Debug : OsmBuilder.Mode.Draft;
 
                         if (data != null) {
                             LoadPdfDialog.this.newLayer = LoadPdfDialog.this.makeLayer(
-                                    tr("PDF file preview"), new FilePlacement(), mode, monitor.createSubTaskMonitor(500, false));
+                                    tr("PDF preview: ") + newFileName.getName(), new FilePlacement(), mode, monitor.createSubTaskMonitor(500, false));
                         }
 
@@ -632,5 +634,5 @@
                         SwingRenderingProgressMonitor monitor = new SwingRenderingProgressMonitor(progressRenderer);
                         LoadPdfDialog.this.newLayer = LoadPdfDialog.this.makeLayer(
-                                tr("Imported PDF: ") + pdfFile, placement, OsmBuilder.Mode.Final, monitor);
+                                tr("PDF: ") + pdfFile.getName(), placement, OsmBuilder.Mode.Final, monitor);
                         progressRenderer.finish();
                     }
@@ -738,5 +740,5 @@
         //get PDF file to load
     	if (loadChooser == null) {
-    		loadChooser = new JFileChooser(Config.getPref().get("plugins.pdfimport.loadDir"));
+    		loadChooser = new JFileChooser(Config.getPref().get("pdfimport.loadDir"));
     		loadChooser.setAcceptAllFileFilterUsed(false);
     		loadChooser.setMultiSelectionEnabled(false);
@@ -1056,4 +1058,7 @@
         monitor.setCustomText(tr("Postprocessing layer"));
         OsmDataLayer result = new OsmDataLayer(data, name, null);
+        data.setUploadPolicy(UploadPolicy.BLOCKED);
+        result.setUploadDiscouraged(true);
+        result.setBackgroundLayer(true);
         result.onPostLoadFromFile();
 
Index: /applications/editors/josm/plugins/pdfimport/src/pdfimport/PdfImportPlugin.java
===================================================================
--- /applications/editors/josm/plugins/pdfimport/src/pdfimport/PdfImportPlugin.java	(revision 34200)
+++ /applications/editors/josm/plugins/pdfimport/src/pdfimport/PdfImportPlugin.java	(revision 34201)
@@ -1,6 +1,4 @@
 // License: GPL. For details, see LICENSE file.
 package pdfimport;
-
-import static org.openstreetmap.josm.tools.I18n.tr;
 
 import org.openstreetmap.josm.gui.MainApplication;
@@ -14,9 +12,6 @@
 public class PdfImportPlugin extends Plugin {
 
-    protected String name;
-
     public PdfImportPlugin(PluginInformation info) {
         super(info);
-        name = tr("Import PDF file");
         MainMenu.add(MainApplication.getMenu().imagerySubMenu, new PdfImportAction());
     }
