Index: trunk/MagicSoft/Mars/mars.cc
===================================================================
--- trunk/MagicSoft/Mars/mars.cc	(revision 965)
+++ trunk/MagicSoft/Mars/mars.cc	(revision 966)
@@ -18,5 +18,5 @@
     // initialise ROOT
     //
-    TROOT simple("Mars", "MARS - MAGIC analysis and reconstruction software");
+    TROOT simple("mars", "MARS - Magic Analysis and Reconstruction Software");
 
     TApplication app("MarsApp", &argc, argv);
Index: trunk/MagicSoft/Mars/merpp.cc
===================================================================
--- trunk/MagicSoft/Mars/merpp.cc	(revision 965)
+++ trunk/MagicSoft/Mars/merpp.cc	(revision 966)
@@ -48,4 +48,7 @@
         gLog << "Sorry the usage is:" << endl;
         gLog << "   merpp inputfile outputfile [compression level]" << endl << endl;
+        gLog << "     input file:   Magic DAQ binary file." << endl;
+        gLog << "     ouput file:   Merpped root file." << endl;
+        gLog << "     compr. level: 1..9 [9]" << endl << ednl;
         return -1;
     }
@@ -61,5 +64,5 @@
     //     initialize ROOT  (this is obligatory here)
     //
-    TROOT simple("Merpp","Mars - Merging and Preprocessing Program");
+    TROOT simple("merpp", "Mars - Merging and Preprocessing Program");
 
     //
@@ -68,10 +71,10 @@
     if (gSystem->AccessPathName(kNamein, kFileExists))
     {
-        gLog << "Sorry, the file '" << kNamein << "' doesn't exist." << endl;
+        gLog << "Sorry, the input file '" << kNamein << "' doesn't exist." << endl;
         return -1;
     }
 
     if (!gSystem->AccessPathName(kNameout, kFileExists))
-        gLog << "Warning: The file '" << kNameout << "' exists." << endl;
+        gLog << "Warning: A file '" << kNameout << "' exists." << endl;
     else
         if (!gSystem->AccessPathName(kNameout, kWritePermission))
@@ -89,5 +92,5 @@
     MTaskList tasks;
     plist.AddToList(&tasks);
-
+/*
     MRawRunHeader runheader;
     plist.AddToList(&runheader);
@@ -104,5 +107,5 @@
     MTime evttime("MRawEvtTime");
     plist.AddToList(&evttime);
-
+*/
     //
     // create the tasks which should be executed and add them to the list
@@ -111,5 +114,5 @@
     //
     MRawFileRead  reader(kNamein);
-    MRawFileWrite writer(kNameout, "RECREATE", "Title", kComprlvl);
+    MRawFileWrite writer(kNameout, "RECREATE", "Magic root-file", kComprlvl);
     tasks.AddToList(&reader);
     tasks.AddToList(&writer);
@@ -119,7 +122,5 @@
     // and the tasks to execute
     //
-
     MEvtLoop magic;
-
     magic.SetParList(&plist);
 
@@ -131,6 +132,11 @@
     // (I'm think of a task like MRawDataCheck)
     //
-    magic.Eventloop();
+    if (!magic.Eventloop())
+    {
+        gLog << "ERROR: Merging and preprocessing failed!" << endl;
+        return -1;
+    }
 
+    gLog << "Merpp finished successfull!" << endl;
     return 0;
 }
