Index: applications/editors/josm/plugins/walkingpapers/build.xml
===================================================================
--- applications/editors/josm/plugins/walkingpapers/build.xml	(revision 18597)
+++ applications/editors/josm/plugins/walkingpapers/build.xml	(revision 19050)
@@ -26,5 +26,5 @@
                 <attribute name="Plugin-Description" value="Supports downloading tiled, scanned maps from walking-papers.org. This plugin is still under early development and may be buggy."/>
                 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/WalkingPapers"/>
-                <attribute name="Plugin-Mainversion" value="2450"/>
+                <attribute name="Plugin-Mainversion" value="2620"/>
                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
             </manifest>
Index: applications/editors/josm/plugins/walkingpapers/src/org/openstreetmap/josm/plugins/walkingpapers/WalkingPapersLayer.java
===================================================================
--- applications/editors/josm/plugins/walkingpapers/src/org/openstreetmap/josm/plugins/walkingpapers/WalkingPapersLayer.java	(revision 18597)
+++ applications/editors/josm/plugins/walkingpapers/src/org/openstreetmap/josm/plugins/walkingpapers/WalkingPapersLayer.java	(revision 19050)
@@ -69,5 +69,5 @@
 		clearTileStorage();
 
-	    Layer.listeners.add(new LayerChangeListener() {
+	    Layer.addLayerChangeListener(new LayerChangeListener() {
 	        public void activeLayerChange(Layer oldLayer, Layer newLayer) {
 	        	// if user changes to a walking papers layer, zoom there just as if
@@ -86,4 +86,5 @@
 
 	        public void layerRemoved(Layer oldLayer) {
+	        	//
 	        }
 	    });
@@ -407,9 +408,4 @@
 	}
 
-	@Override
-	public void destroy() {
-		Main.pref.listener.remove(WalkingPapersLayer.this);
-	}
-
 	public String getWalkingPapersId() {
 		return walkingPapersId;
