Index: /applications/editors/josm/plugins/smed/build.xml
===================================================================
--- /applications/editors/josm/plugins/smed/build.xml	(revision 24577)
+++ /applications/editors/josm/plugins/smed/build.xml	(revision 24578)
@@ -176,4 +176,5 @@
 			</and>
 		</condition>
+		<delete dir="${josm.plugins.dir}/splug"/>
 		<copy file="${plugin.jar}" todir="${josm.plugins.dir}"/>
 	</target>
Index: /applications/editors/josm/plugins/smed/plugs/harbour/src/harbour/Harbour.java
===================================================================
--- /applications/editors/josm/plugins/smed/plugs/harbour/src/harbour/Harbour.java	(revision 24577)
+++ /applications/editors/josm/plugins/smed/plugs/harbour/src/harbour/Harbour.java	(revision 24578)
@@ -35,6 +35,6 @@
 	@Override
 	public boolean hasFocus() {
-		Main.map.mapView.addPropertyChangeListener(harbour);
-		MapView.addLayerChangeListener(harbour);
+//		Main.map.mapView.addPropertyChangeListener(harbour);
+//		MapView.addLayerChangeListener(harbour);
 		return true;
 	}
@@ -42,6 +42,6 @@
 	@Override
 	public boolean lostFocus() {
-		Main.map.mapView.removePropertyChangeListener(harbour);
-		MapView.removeLayerChangeListener(harbour);
+//		Main.map.mapView.removePropertyChangeListener(harbour);
+//		MapView.removeLayerChangeListener(harbour);
 		return true;
 	}
