Index: trunk/FACT++/src/Main.h
===================================================================
--- trunk/FACT++/src/Main.h	(revision 11529)
+++ trunk/FACT++/src/Main.h	(revision 11530)
@@ -50,4 +50,10 @@
     WindowLog &wout = shell.GetStreamOut();
 
+    const bool backlog = wout.GetBacklog();
+    const bool null    = wout.GetNullOutput();
+    wout.SetBacklog(false);
+    wout.SetNullOutput(false);
+    wout.Display(true);
+
     if (conf.Has("log"))
         if (!wout.OpenLogFile(conf.Get<string>("log")))
@@ -76,4 +82,11 @@
     io_service.Write(now, "\\------------------- Evaluating options -----------------");
     const int rc = io_service.EvalOptions(conf);
+    if (rc>=0)
+    {
+        ostringstream str;
+        str << "Exit triggered by EvalOptions with rc=" << rc;
+        io_service.Write(now, str.str(), MessageImp::kError);
+        return rc;
+    }
 
     const map<string,string> &wco = conf.GetWildcardOptions();
@@ -94,10 +107,12 @@
             io_service.Write(now, str.str(), MessageImp::kWarn);
         }
+        io_service.Write(now, "Unrecognized options found, will exit with rc=127", MessageImp::kError);
         return 127;
     }
 
     io_service.Message("==================== Starting main loop =================");
-    if (rc>=0)
-        return rc;
+
+    wout.SetNullOutput(null);
+    wout.SetBacklog(backlog);
 
     shell.SetReceiver(io_service);
