Index: /.classpath
===================================================================
--- /.classpath	(revision 47)
+++ /.classpath	(revision 48)
@@ -2,5 +2,6 @@
 <classpath>
 	<classpathentry kind="src" path="src"/>
-	<classpathentry including="images/" kind="src" path=""/>
+	<classpathentry kind="src" path="test"/>
+	<classpathentry including="images/" excluding="*" kind="src" path=""/>
 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
 	<classpathentry sourcepath="/home/imi/src/jdom-1.0/src" kind="lib" path="lib/jdom.jar"/>
Index: /src/org/openstreetmap/josm/gui/BugReportExceptionHandler.java
===================================================================
--- /src/org/openstreetmap/josm/gui/BugReportExceptionHandler.java	(revision 47)
+++ /src/org/openstreetmap/josm/gui/BugReportExceptionHandler.java	(revision 48)
@@ -28,7 +28,5 @@
 	public void uncaughtException(Thread t, Throwable e) {
 		e.printStackTrace();
-		if (Main.main == null)
-			e.printStackTrace();
-		else {
+		if (Main.main != null) {
 			Object[] options = new String[]{"Do nothing", "Report Bug"};
 			int answer = JOptionPane.showOptionDialog(Main.main, "An unexpected exception occoured.\n\n" +
