Index: trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc
===================================================================
--- trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc	(revision 8907)
+++ trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc	(revision 8917)
@@ -68,4 +68,5 @@
 #include <TEnv.h>                 // TEnv
 #include <TLine.h>                // TLine
+#include <TMath.h>
 #include <TText.h>                // TText
 #include <TFile.h>                // gFile
@@ -685,5 +686,5 @@
 //
 MStatusDisplay::MStatusDisplay(Int_t w, Int_t h, Long_t t)
-: TGMainFrame(NULL, 1, 1), fName("MStatusDisplay"), fLog(&gLog), fBar(NULL), fTab(NULL), fTimer(this, t, kTRUE), fStatus(kLoopNone), fLogIdx(-1), fLogTimer(this, 250, kTRUE), fLogBox(NULL), fIsLocked(0)
+: TGMainFrame((TGWindow*)((gClient?gClient:new TGClient),NULL), 1, 1), fName("MStatusDisplay"), fLog(&gLog), fBar(NULL), fTab(NULL), fTimer(this, t, kTRUE), fStatus(kLoopNone), fLogIdx(-1), fLogTimer(this, 250, kTRUE), fLogBox(NULL), fIsLocked(0)
 {
     // p==NULL means: Take gClient->GetRoot() if not in batch mode
Index: trunk/MagicSoft/Mars/mbase/MStatusDisplay.h
===================================================================
--- trunk/MagicSoft/Mars/mbase/MStatusDisplay.h	(revision 8907)
+++ trunk/MagicSoft/Mars/mbase/MStatusDisplay.h	(revision 8917)
@@ -225,4 +225,6 @@
      Int_t  SaveAs(TString name)        { return SaveAs(-1, name); }
      Int_t  PrintPS() { return PrintPS(-1); }
+     
+     void SaveAs(const char *c, const Option_t *o) const { TGObject::SaveAs(c, o); }
 
      Int_t  SaveAsPS(Int_t num, TString name="",  const TString addon="") { return SaveAsVGF(num, name, addon, "ps"); }
