Index: branches/eam_branches/relastro.20100326/src/ImageOps.c
===================================================================
--- branches/eam_branches/relastro.20100326/src/ImageOps.c	(revision 27490)
+++ branches/eam_branches/relastro.20100326/src/ImageOps.c	(revision 27496)
@@ -163,5 +163,5 @@
   }
 
-  for (i = 0; VERBOSE && (i < Nimage); i++) {
+  for (i = 0; VERBOSE2 && (i < Nimage); i++) {
     name = GetPhotcodeNamebyCode (image[i].photcode);
     fprintf (stderr, "image %lld has %lld measures (%s, %s)\n", (long long) i, (long long) Nlist[i],
@@ -183,6 +183,6 @@
   idx = getImageByID (ID);
   if (idx == -1) {
-    fprintf (stderr, "can't match detection to image?\n");
-    abort();
+    if (VERBOSE2) fprintf (stderr, "can't match detection to image?\n");
+    return;
   }
 
@@ -257,6 +257,6 @@
     return;
   }
-  fprintf (stderr, "can't match detection to image?\n");
-  abort();
+  if (VERBOSE2) fprintf (stderr, "can't match detection to image?\n");
+  return;
 }
 # endif
@@ -429,5 +429,5 @@
   if (!badCoords(im)) {
     fprintf (stderr, "ERROR: inconsistent result?");
-    exit (1);
+    abort();
   }
 
@@ -500,5 +500,5 @@
     if (mosaic == NULL) {
       fprintf (stderr, "mosaic not found for image %s\n", image[im].name);
-      exit (1);
+      abort();
     }
     moscoords = &mosaic[0].coords;
@@ -575,5 +575,5 @@
     if (mosaic == NULL) {
       fprintf (stderr, "mosaic not found for image %s\n", image[im].name);
-      exit (1);
+      abort ();
     }
     moscoords = &mosaic[0].coords;
