Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/io/download/MapillaryDownloader.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/io/download/MapillaryDownloader.java	(revision 32657)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/io/download/MapillaryDownloader.java	(revision 32658)
@@ -1,6 +1,4 @@
 // License: GPL. For details, see LICENSE file.
 package org.openstreetmap.josm.plugins.mapillary.io.download;
-
-import static org.openstreetmap.josm.tools.I18n.tr;
 
 import java.util.ArrayList;
@@ -38,5 +36,5 @@
     private String label;
 
-    private DOWNLOAD_MODE(String prefId, String label) {
+    DOWNLOAD_MODE(String prefId, String label) {
       this.prefId = prefId;
       this.label = label;
@@ -63,4 +61,5 @@
       return getDefault();
     }
+
     public static DOWNLOAD_MODE fromLabel(String label) {
       if (MANUAL_ONLY.getLabel().equals(label)) {
@@ -197,17 +196,17 @@
    */
   public static void automaticDownload() {
-    MapillaryLayer layer = MapillaryLayer.getInstance();
-    if (Main.getLayerManager().getEditLayer() == null)
-      return;
+    if (Main.getLayerManager().getEditLayer() == null) {
+      return;
+    }
     if (isAreaTooBig()) {
       tooBigErrorDialog();
       return;
     }
-    if (getMode() != DOWNLOAD_MODE.OSM_AREA)
+    if (getMode() != DOWNLOAD_MODE.OSM_AREA) {
       throw new IllegalStateException("Must be in automatic mode.");
-    for (Bounds bounds : Main.getLayerManager().getEditLayer().data
-        .getDataSourceBounds()) {
-      if (!layer.getData().getBounds().contains(bounds)) {
-        layer.getData().getBounds().add(bounds);
+    }
+    for (Bounds bounds : Main.getLayerManager().getEditLayer().data.getDataSourceBounds()) {
+      if (!MapillaryLayer.getInstance().getData().getBounds().contains(bounds)) {
+        MapillaryLayer.getInstance().getData().getBounds().add(bounds);
         MapillaryDownloader.getImages(bounds.getMin(), bounds.getMax());
       }
@@ -236,5 +235,5 @@
           .showMessageDialog(
               Main.parent,
-              tr("The downloaded OSM area is too big. Download mode has been changed to semiautomatic until the layer is restarted."));
+              I18n.tr("The downloaded OSM area is too big. Download mode has been changed to semiautomatic until the layer is restarted."));
     } else {
       SwingUtilities.invokeLater( new Runnable() {
Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/mode/AbstractMode.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/mode/AbstractMode.java	(revision 32657)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/mode/AbstractMode.java	(revision 32658)
Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/mode/SelectMode.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/mode/SelectMode.java	(revision 32657)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/mode/SelectMode.java	(revision 32658)
@@ -33,5 +33,4 @@
  */
 public class SelectMode extends AbstractMode {
-  private Point start;
   private MapillaryAbstractImage closest;
   private MapillaryAbstractImage lastClicked;
@@ -67,5 +66,4 @@
       }
     }
-    this.start = e.getPoint();
     this.lastClicked = this.closest;
     this.closest = closest;
@@ -109,5 +107,5 @@
         for (MapillaryAbstractImage img : data.getMultiSelectedImages()) {
           if (Main.pref.getBoolean("mapillary.developer") || !(img instanceof MapillaryImage)) {
-            img.turn(Math.toDegrees(Math.atan2((e.getX() - highlightImgPoint.getX()), -(e.getY() - highlightImgPoint.getY()))) - highlightImg.getTempCa());
+            img.turn(Math.toDegrees(Math.atan2(e.getX() - highlightImgPoint.getX(), -e.getY() + highlightImgPoint.getY())) - highlightImg.getTempCa());
           }
         }
Index: /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/utils/PluginState.java
===================================================================
--- /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/utils/PluginState.java	(revision 32657)
+++ /applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/utils/PluginState.java	(revision 32658)
@@ -111,12 +111,13 @@
       dlg.setVisible(true);
     } else {
-      SwingUtilities.invokeLater( new Runnable() {
+      SwingUtilities.invokeLater(new Runnable() {
         @Override
         public void run() {
           finishedUploadDialog();
         }
-      } );
+      });
     }
   }
+
   public static void notLoggedInToMapillaryDialog() {
     if (Main.main == null) {
