Index: /branches/eam_branches/ipp-20130904/ppStack/src/ppStackLoop.c
===================================================================
--- /branches/eam_branches/ipp-20130904/ppStack/src/ppStackLoop.c	(revision 36368)
+++ /branches/eam_branches/ipp-20130904/ppStack/src/ppStackLoop.c	(revision 36369)
@@ -87,5 +87,6 @@
         pmCellFreeData(options->cells->data[i]);
     }
-    //    psFree(stack);
+    //MEH -- must uncomment back out -- unclear is should be moved after pixel rejection
+    psFree(stack);
 
     // Pixel rejection
@@ -181,5 +182,6 @@
         return false;
     }
-    //    psFree(stack);
+    //MEH -- also must uncomment back out..
+    psFree(stack);
     psLogMsg("ppStack", PS_LOG_INFO, "Stage 7: Cleanup, WCS & JPEGS: %f sec", psTimerClear("PPSTACK_STEPS"));
     ppStackMemDump("cleanup");
Index: /branches/eam_branches/ipp-20130904/ppStack/src/ppStackMatch.c
===================================================================
--- /branches/eam_branches/ipp-20130904/ppStack/src/ppStackMatch.c	(revision 36368)
+++ /branches/eam_branches/ipp-20130904/ppStack/src/ppStackMatch.c	(revision 36369)
@@ -6,7 +6,6 @@
 #define COVAR_FRAC 0.01                 // Truncation fraction for covariance matrix
 
-// #define TESTING                         // Enable debugging output
+// #define TESTING                      // Enable debugging output
 // #define TESTING_REUSE_CONV		// Enable debugging for re-using convolved outputs from previous run
-
 // #define TESTING_CZW 
 
@@ -156,4 +155,9 @@
     if (options->convolve) {
         pmReadout *conv = pmReadoutAlloc(NULL); // Conv readout, for holding results temporarily
+
+        // MEH -- earlier defn needed with new simple mode modifications to  use TESTING_REUSE_CONV...
+	//const char *typeStr = psMetadataLookupStr(NULL, ppsub, "KERNEL.TYPE"); // Kernel type
+	//pmSubtractionKernelsType type = pmSubtractionKernelsTypeFromString(typeStr); // Kernel type
+
 #ifdef TESTING_REUSE_CONV
         // This is a hack to use the temporary convolved images and kernel generated previously.
Index: /branches/eam_branches/ipp-20130904/psLib/src/fits/psFits.c
===================================================================
--- /branches/eam_branches/ipp-20130904/psLib/src/fits/psFits.c	(revision 36368)
+++ /branches/eam_branches/ipp-20130904/psLib/src/fits/psFits.c	(revision 36369)
@@ -243,5 +243,6 @@
         (&fptr, name, iomode, &status);
         if (fptr == NULL || status != 0) {
-            psFitsDumpErrors(PS_ERR_IO, _("Could not open file,'%s'"), name);
+            // MEH -- if cfitsio error and have status, really want to know it as well and should be added where lacking elsewhere
+	    psFitsDumpErrors(PS_ERR_IO, _("Could not open file,'%s %d'"), name,status);
             return NULL;
         }
Index: /branches/eam_branches/ipp-20130904/psModules/src/objects/pmModelUtils.c
===================================================================
--- /branches/eam_branches/ipp-20130904/psModules/src/objects/pmModelUtils.c	(revision 36368)
+++ /branches/eam_branches/ipp-20130904/psModules/src/objects/pmModelUtils.c	(revision 36369)
@@ -198,4 +198,5 @@
 
     if (!isfinite(axes.major)) return false;
+    if (axes.major == 0) return false;
     if (!isfinite(axes.minor)) return false;
     if (!isfinite(axes.theta)) return false;
Index: /branches/eam_branches/ipp-20130904/psphot/src/psphotStackMatchPSFsUtils.c
===================================================================
--- /branches/eam_branches/ipp-20130904/psphot/src/psphotStackMatchPSFsUtils.c	(revision 36368)
+++ /branches/eam_branches/ipp-20130904/psphot/src/psphotStackMatchPSFsUtils.c	(revision 36369)
@@ -325,5 +325,5 @@
     if (deconv > deconvLimit) {
         rejectReadout = true;
-	psLogMsg("psphot", PS_LOG_WARN, "Maximum deconvolution fraction (%f) exceeds limit (%f) --- rejecting image for matched psf analysis%d\n", deconv, deconvLimit, index);
+	psLogMsg("psphot", PS_LOG_WARN, "Maximum deconvolution fraction (%f) exceeds limit (%f) --- rejecting input %d for matched psf analysis\n", deconv, deconvLimit, index);
     }
     
