Index: trunk/psModules/src/extras/pmVisual.c
===================================================================
--- trunk/psModules/src/extras/pmVisual.c	(revision 30623)
+++ trunk/psModules/src/extras/pmVisual.c	(revision 31153)
@@ -1,3 +1,3 @@
-/** The following are a collection of core procedures to aid the creation of visaual diagnostics
+/** The following are a collection of core procedures to aid the creation of visual diagnostics
  *  @author Chris Beaumont, IfA
  *  @date January 23, 2008
@@ -80,9 +80,10 @@
 
 bool pmVisualInitWindow (int *kapid, char *name) {
+
     if (*kapid == -1) {
         *kapid = KapaOpenNamedSocket("kapa", name);
         if (*kapid == -1) {
-            fprintf (stderr, "Failure to open kapa.\n");
-            isVisual = false;
+            fprintf (stderr, "Failure to open kapa; visual mode disabled.\n");
+	    pmVisualSetVisual(false);
             return false;
         }
@@ -255,4 +256,10 @@
     }
 
+    if (increasing) {
+	fprintf (stderr, "plotting points scaled from %f to %f\n", zmin, zmax);
+    } else {
+	fprintf (stderr, "plotting points scaled from %f to %f\n", zmax, zmin);
+    }
+
     float range = zmax - zmin;
     if (range == 0.0) {
