Index: /trunk/FACT++/gui/FactGui.h
===================================================================
--- /trunk/FACT++/gui/FactGui.h	(revision 11777)
+++ /trunk/FACT++/gui/FactGui.h	(revision 11778)
@@ -170,5 +170,5 @@
         //  calculate the positions of the pixel corners
         //
-        Double_t x[7], y[7];
+        static Double_t x[7], y[7];
         for (Int_t i=0; i<7; i++)
         {
@@ -179,5 +179,4 @@
         gPad->PaintFillArea(6, x, y);
         gPad->PaintPolyLine(7, x, y);
-
     }
 
@@ -1320,6 +1319,6 @@
             if (h->GetMaximumStored()==-1111)
             {
-                h->SetMaximum(2550);//1025);
-                hf->SetMaximum(2550);//1025);
+                h->SetMaximum(2150);//1025);
+                hf->SetMaximum(2150);//1025);
             }
         }
@@ -1429,7 +1428,7 @@
             return;
 
-       // static int cnt=0;
-       // if (cnt++%10>0)
-       //     return;
+       static int cnt=0;
+       if (cnt++%10>0)
+           return;
 
         const float *ptr = d.ptr<float>();
@@ -1461,6 +1460,6 @@
         c->GetPad(1)->Modified();
         c->GetPad(2)->Modified();
-        c->GetPad(3)->Modified();
-        c->GetPad(4)->Modified();
+//        c->GetPad(3)->Modified();
+//        c->GetPad(4)->Modified();
 
 	c->Update();
