Index: /trunk/src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java	(revision 4706)
+++ /trunk/src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java	(revision 4707)
@@ -110,5 +110,6 @@
                     tr("Way end node near other highway"),
                     UNCONNECTED_WAYS,
-                    Arrays.asList(error.getKey(), error.getValue())));
+                    Arrays.asList(error.getKey(), error.getValue()),
+                    Arrays.asList(error.getKey())));
         }
         map.clear();
@@ -128,5 +129,6 @@
                     tr("Way end node near other way"),
                     UNCONNECTED_WAYS,
-                    Arrays.asList(error.getKey(), error.getValue())));
+                    Arrays.asList(error.getKey(), error.getValue()),
+                    Arrays.asList(error.getKey())));
         }
         /* the following two use a shorter distance */
@@ -149,5 +151,6 @@
                         tr("Way node near other way"),
                         UNCONNECTED_WAYS,
-                        Arrays.asList(error.getKey(), error.getValue())));
+                        Arrays.asList(error.getKey(), error.getValue()),
+                        Arrays.asList(error.getKey())));
             }
             map.clear();
@@ -168,5 +171,6 @@
                         tr("Connected way end node near other way"),
                         UNCONNECTED_WAYS,
-                        Arrays.asList(error.getKey(), error.getValue())));
+                        Arrays.asList(error.getKey(), error.getValue()),
+                        Arrays.asList(error.getKey())));
             }
         }
Index: /trunk/src/org/openstreetmap/josm/gui/dialogs/ValidatorDialog.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/dialogs/ValidatorDialog.java	(revision 4706)
+++ /trunk/src/org/openstreetmap/josm/gui/dialogs/ValidatorDialog.java	(revision 4707)
@@ -5,5 +5,4 @@
 import static org.openstreetmap.josm.tools.I18n.tr;
 
-import java.awt.GridLayout;
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
@@ -14,5 +13,4 @@
 import java.lang.reflect.InvocationTargetException;
 import java.util.ArrayList;
-import java.util.Arrays;
 import java.util.Collection;
 import java.util.Enumeration;
@@ -303,5 +301,5 @@
         if (bbox.getBounds() == null)
             return;
-        bbox.enlargeBoundingBox();
+        bbox.enlargeBoundingBox(Main.pref.getDouble("validator.zoom-enlarge-bbox", 0.0002));
         Main.map.mapView.recalculateCenterScale(bbox);
     }
