Index: /trunk/BNC/src/bnccaster.cpp
===================================================================
--- /trunk/BNC/src/bnccaster.cpp	(revision 9853)
+++ /trunk/BNC/src/bnccaster.cpp	(revision 9854)
@@ -467,8 +467,5 @@
 
   emit mountPointsRead(_threads);
-  emit( newMessage(QString("Configuration read: "
-                           + BNC_CORE->confFileName()
-                           + ", %1 stream(s)")
-                            .arg(_threads.count()).toLatin1(), true) );
+  emit(newMessage(QString("Configuration read: " + BNC_CORE->confFileName() + ", %1 stream(s)").arg(_threads.count()).toLatin1(), true));
 
   // (Re-) Start the configuration timer
Index: /trunk/BNC/src/bncgetthread.cpp
===================================================================
--- /trunk/BNC/src/bncgetthread.cpp	(revision 9853)
+++ /trunk/BNC/src/bncgetthread.cpp	(revision 9854)
@@ -437,5 +437,5 @@
       if (_isToBeDeleted) {
         emit(newMessage(_staID + ": is to be deleted", true));
-        QThread::exit(0);
+        QThread::exit(4);
         this->deleteLater();
         return;
@@ -479,5 +479,5 @@
           BNC_CORE->stopPPP();
           sleep(2);
-          ::exit(0);
+          ::exit(5);
         }
       }
Index: /trunk/BNC/src/bnchelp.html
===================================================================
--- /trunk/BNC/src/bnchelp.html	(revision 9853)
+++ /trunk/BNC/src/bnchelp.html	(revision 9854)
@@ -298,11 +298,14 @@
   <tr><td>7</td><td>BNC's 'Network' panel configured to ignore eventually occurring SSL error messages</td><td>2.2.2</td></tr>
   <tr><td>8</td><td>BNC translating incoming streams to 15 min RINEX Version 3 files</td><td>2.4</td></tr>
+  <tr><td>9</td><td>Example for creating RINEX quality check analysis graphics output with BNC</td><td>2.6.5</td></tr>
+  <tr><td>10</td><td>Example for satellite availability, elevation and PDOP plots as a result of a RINEX quality check analysis with BNC</td><td>2.6.5</td></tr>
+  <tr><td>11</td><td>Sky plot examples for multipath, part of RINEX quality check analysis with BNC</td><td>2.6.5</td></tr>
+  <tr><td>12</td><td>Sky plot examples for signal-to-noise ratio, part of RINEX quality check analysis with BNC</td><td>2.6.5</td></tr>
+  <tr><td>13</td><td>Example for BNC's 'RINEX Editing Options' window</td><td>2.6.7</td></tr>
+  <tr><td>14</td><td>Example for RINEX file concatenation with BNC</td><td>2.6.7</td></tr>
+
   <tr><td>9</td><td>BNC converting Broadcast Ephemeris stream to RINEX Version 3 Navigation files</td><td>2.5.5</td></tr>
-  <tr><td>10</td><td>Example for BNC's 'RINEX Editing Options' window</td><td>2.6.7</td></tr>
-  <tr><td>11</td><td>Example for RINEX file concatenation with BNC</td><td>2.6.7</td></tr>
-  <tr><td>12</td><td>Example for creating RINEX quality check analysis graphics output with BNC</td><td>2.6.7</td></tr>
-  <tr><td>13</td><td>Example for satellite availability, elevation and PDOP plots as a result of a RINEX quality check analysis with BNC</td><td>2.6.7</td></tr>
-  <tr><td>14</td><td>Sky plot examples for multipath, part of RINEX quality check analysis with BNC</td><td>2.6.7</td></tr>
-  <tr><td>15</td><td>Sky plot examples for signal-to-noise ratio, part of RINEX quality check analysis with BNC</td><td>2.6.7</td></tr>
+
+
   <tr><td>16</td><td>Example for comparing two SP3 files with satellite orbit and clock data using BNC</td><td>2.7.3</td></tr>
   <tr><td>17</td><td>Example for pulling, saving and output of Broadcast Corrections using BNC</td><td>2.8.3</td></tr>
@@ -1348,5 +1351,5 @@
 </p>
 
-<p><img src="IMG/Figure07.png"/></p>
+<p><img src="IMG/Figure07.png"width=900/></p>
 <p>Figure 7: BNC's 'Network' panel configured to ignore eventually occurring SSL error messages</p>
 
@@ -1363,5 +1366,5 @@
 The following is an example for the content of a logfile written by BNC when operated in Precise Point Positioning (PPP) mode:
 </p>
-<pre>
+<pre><p style="font-family:Monospace">
 22-10-04 19:53:57 ========== Start BNC v2.13 (LINUX) ==========
 22-10-04 19:53:57 Panel 'PPP' active
@@ -1384,4 +1387,5 @@
 ...
 </pre>
+</p>
 
 <p><h4 id="genapp">2.3.2 Append Files - optional</h4></p>
@@ -1463,5 +1467,5 @@
 </p>
 
-<p><img src="IMG/Figure08.png"/></p>
+<p><img src="IMG/Figure08.png"width=900/></p>
 <p>Figure 8: BNC translating incoming observation streams to 15 min RINEX Version 4 Observation files</p>
 
@@ -1809,30 +1813,31 @@
 </p>
 <pre><p style="font-family:Monospace">
+QC Format Version  : 1.1
+
 Navigation File(s) : MAO000USA_R_20221720000_01D_MN.rnx
-Ephemeris          : 1893 OK   3592 UNHEALTHY   24 WRONG
+Ephemeris          : 1776 OK   3617 UNHEALTHY   116 WRONG
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH G09 LNAV: 2022 06 21 04 00 00
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH G09 LNAV: 2022 06 21 06 00 00
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH G09 LNAV: 2022 06 21 08 00 00
                      MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH J07 LNAV: 2022 06 21 07 00 00
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH J02 LNAV: 2022 06 21 09 00 00
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH G32 LNAV: 2022 06 21 16 00 00
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH J03 LNAV: 2022 06 21 17 00 00
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH G22 LNAV: 2022 06 21 18 00 00
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH G31 LNAV: 2022 06 21 18 00 00
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH C35 D1  : 2022 06 21 17 00 14
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH J07 LNAV: 2022 06 21 19 00 00
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH G23 LNAV: 2022 06 21 20 00 00
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH C26 D1  : 2022 06 21 19 00 14
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH G10 LNAV: 2022 06 21 20 00 00
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH G16 LNAV: 2022 06 21 22 00 00
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH C44 D1  : 2022 06 21 20 00 14
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH G27 LNAV: 2022 06 21 22 00 00
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH G15 LNAV: 2022 06 21 22 00 00
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH C24 D1  : 2022 06 21 21 00 14
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH E11 FNAV: 2022 06 21 22 00 00
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH C40 D1  : 2022 06 21 22 00 14
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH G21 LNAV: 2022 06 22 00 00 00
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH J04 LNAV: 2022 06 21 23 00 00
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH C21 D1  : 2022 06 21 22 00 14
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH C12 D1  : 2022 06 21 22 00 14
-                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH G08 LNAV: 2022 06 22 00 00 00
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH J07 LNAV: 2022 06 21 08 00 00
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH G09 LNAV: 2022 06 21 10 00 00
+..
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH C35 D1  : 2022 06 21 23 00 14
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH C26 D1  : 2022 06 21 23 00 14
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH C44 D1  : 2022 06 21 23 00 14
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH C24 D1  : 2022 06 21 23 00 14
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH C21 D1  : 2022 06 21 23 00 14
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH C12 D1  : 2022 06 21 23 00 14
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH C40 D1  : 2022 06 21 23 00 14
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH E11 FNAV: 2022 06 21 22 50 00
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH G08 LNAV: 2022 06 21 23 59 44
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH E11 FNAV: 2022 06 21 23 00 00
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH E11 FNAV: 2022 06 21 23 10 00
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH E11 FNAV: 2022 06 21 23 20 00
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH E11 FNAV: 2022 06 21 23 30 00
                      MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH E25 FNAV: 2022 06 21 23 30 00
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH E11 FNAV: 2022 06 21 23 40 00
+                     MAO000USA_R_20221720000_01D_MN.rnx : WRONG EPH E25 FNAV: 2022 06 21 23 40 00
 
 Observation File   : MAO000USA_R_20221720000_01D_30S_MO.rnx
@@ -1847,5 +1852,4 @@
 End Time           : 2022-06-21 23.59.30.0
 Interval           : 30 sec
-Navigation Systems : 5    C E G J R
 Observation Types C: C1P L1P D1P S1P C5P L5P D5P S5P C2I L2I D2I S2I C7I L7I D7I S7I C6I L6I D6I S6I C7D L7D D7D S7D
 Observation Types E: C1C L1C D1C S1C C6C L6C D6C S6C C5Q L5Q D5Q S5Q C7Q L7Q D7Q S7Q C8Q L8Q D8Q S8Q
@@ -1855,4 +1859,5 @@
 Observation Types R: C1C L1C D1C S1C C1P L1P D1P S1P C2P L2P D2P S2P C2C L2C D2C S2C
 Observation Types S: C1C L1C D1C S1C C5I L5I D5I S5I
+Analysed GNSS      : 4    C E G J
 
   C: Satellites: 42
@@ -1860,32 +1865,32 @@
 
       C:   1P: Observations      :  28217
-      C:   1P: Slips (file+found):       60 +       0
+      C:   1P: Slips (file+found):       60 +      22
       C:   1P: Gaps              :      147
       C:   1P: Mean SNR          :     43.9
-      C:   1P: Mean Multipath    :     0.00
+      C:   1P: Mean Multipath    :     0.60
 
       C:   2I: Observations      :  43725
-      C:   2I: Slips (file+found):      124 +      50
+      C:   2I: Slips (file+found):      124 +      32
       C:   2I: Gaps              :      209
       C:   2I: Mean SNR          :     44.8
-      C:   2I: Mean Multipath    :     0.71
+      C:   2I: Mean Multipath    :     0.66
 
       C:   5P: Observations      :  28373
-      C:   5P: Slips (file+found):       52 +       0
+      C:   5P: Slips (file+found):       52 +       7
       C:   5P: Gaps              :      100
       C:   5P: Mean SNR          :     43.5
-      C:   5P: Mean Multipath    :     0.00
+      C:   5P: Mean Multipath    :     0.26
 
       C:   6I: Observations      :  43887
-      C:   6I: Slips (file+found):       95 +      30
+      C:   6I: Slips (file+found):       95 +      15
       C:   6I: Gaps              :      156
       C:   6I: Mean SNR          :     44.6
-      C:   6I: Mean Multipath    :     0.27
+      C:   6I: Mean Multipath    :     0.29
 
       C:   7D: Observations      :  30073
-      C:   7D: Slips (file+found):       45 +       0
+      C:   7D: Slips (file+found):       45 +      10
       C:   7D: Gaps              :       28
       C:   7D: Mean SNR          :     44.1
-      C:   7D: Mean Multipath    :     0.00
+      C:   7D: Mean Multipath    :     0.28
 
       C:   7I: Observations      :  11450
@@ -1911,8 +1916,8 @@
 
       E:   6C: Observations      :  27564
-      E:   6C: Slips (file+found):       40 +       0
+      E:   6C: Slips (file+found):       40 +       9
       E:   6C: Gaps              :       77
       E:   6C: Mean SNR          :     45.5
-      E:   6C: Mean Multipath    :     0.00
+      E:   6C: Mean Multipath    :     0.39
 
       E:   7Q: Observations      :  27504
@@ -1923,8 +1928,8 @@
 
       E:   8Q: Observations      :  27099
-      E:   8Q: Slips (file+found):       48 +       0
+      E:   8Q: Slips (file+found):       48 +       9
       E:   8Q: Gaps              :       35
       E:   8Q: Mean SNR          :     47.1
-      E:   8Q: Mean Multipath    :     0.00
+      E:   8Q: Mean Multipath    :     0.08
 
   G: Satellites: 32
@@ -1995,43 +2000,16 @@
 
       J:   5P: Observations      :   9443 (    9493)    99.47 %
-      J:   5P: Slips (file+found):       12 +       0
+      J:   5P: Slips (file+found):       12 +      11
       J:   5P: Gaps              :        8
       J:   5P: Mean SNR          :     36.4
-      J:   5P: Mean Multipath    :     0.00
+      J:   5P: Mean Multipath    :     0.18
 
       J:   5Q: Observations      :   9457 (    9493)    99.62 %
-      J:   5Q: Slips (file+found):       12 +       0
+      J:   5Q: Slips (file+found):       12 +      11
       J:   5Q: Gaps              :        7
       J:   5Q: Mean SNR          :     41.4
-      J:   5Q: Mean Multipath    :     0.00
-
-  R: Satellites: 22
-  R: Signals   : 4    1C 1P 2C 2P
-
-      R:   1C: Observations      :  21692 (   22743)    95.38 %
-      R:   1C: Slips (file+found):      506 +      29
-      R:   1C: Gaps              :      202
-      R:   1C: Mean SNR          :     47.1
-      R:   1C: Mean Multipath    :     0.75
-
-      R:   1P: Observations      :  21411 (   22743)    94.14 %
-      R:   1P: Slips (file+found):      393 +      19
-      R:   1P: Gaps              :       90
-      R:   1P: Mean SNR          :     46.9
-      R:   1P: Mean Multipath    :     0.56
-
-      R:   2C: Observations      :  18380 (   22743)    80.82 %
-      R:   2C: Slips (file+found):      384 +      22
-      R:   2C: Gaps              :      102
-      R:   2C: Mean SNR          :     44.2
-      R:   2C: Mean Multipath    :     0.55
-
-      R:   2P: Observations      :  18118 (   22743)    79.66 %
-      R:   2P: Slips (file+found):      277 +      16
-      R:   2P: Gaps              :       67
-      R:   2P: Mean SNR          :     44.6
-      R:   2P: Mean Multipath    :     0.38
-
-> 2022 06 21 00 00  0.0000000 50  0.5
+      J:   5Q: Mean Multipath    :     0.13
+
+> 2022 06 21 00 00  0.0000000 41  0.6
 G08   0.00    0.00   9  L1C .. 44.1  C1C  . 0.58  C1W  . 0.59  L2W .. 40.6  C2W  . 0.77  L2L .. 37.3  C2L  . 0.74  L5Q .. 45.3  C5Q  . 0.33
 G10  32.29   79.31   9  L1C .. 49.6  C1C  . 0.16  C1W  . 0.16  L2W .. 44.0  C2W  . 0.09  L2L .. 48.2  C2L  . 0.11  L5Q .. 51.6  C5Q  . 0.09
@@ -2044,58 +2022,49 @@
 G31   0.00    0.00   7  L1C .. 35.7  C1C  . 4.35  C1W  . 4.31  L2W .. 18.4  C2W  . 4.31  L2L s. 31.1  C2L  . 0.00
 G32   0.00    0.00   9  L1C .. 49.2  C1C  . 0.32  C1W  . 0.32  L2W .. 39.9  C2W  . 0.15  L2L .. 44.6  C2L  . 0.16  L5Q .. 48.0  C5Q  . 0.09
-R03  28.32   36.60   8  L1C .. 51.6  C1C  . 0.48  L1P .. 51.5  C1P  . 0.44  L2P .. 46.6  C2P  . 0.27  L2C .. 46.7  C2C  . 0.29
-R04  67.08   99.63   8  L1C .. 52.3  C1C  . 0.29  L1P .. 52.5  C1P  . 0.23  L2P .. 49.3  C2P  . 0.08  L2C .. 49.4  C2C  . 0.13
-R05  35.15 -178.38   8  L1C .. 52.8  C1C  . 0.33  L1P .. 52.9  C1P  . 0.29  L2P .. 47.2  C2P  . 0.12  L2C .. 46.5  C2C  . 0.22
-R09  20.70  -90.25   8  L1C .. 48.6  C1C  . 0.93  L1P .. 48.4  C1P  . 0.44  L2P .. 42.9  C2P  . 0.46  L2C .. 44.3  C2C  . 0.61
-R10   6.26  -47.08   4  L1C .. 39.0  C1C  . 0.00  L1P .. 38.3  C1P  . 0.00
-R17   1.93   99.86   3  L1C .. 27.5  C1C  . 0.00  C2C  . 0.00
-R18  30.07   60.84   8  L1C .. 52.0  C1C  . 0.21  L1P .. 51.7  C1P  . 0.20  L2P .. 46.4  C2P  . 0.15  L2C .. 46.0  C2C  . 0.17
-R19  34.86    5.26   8  L1C .. 40.9  C1C  . 0.48  L1P .. 40.0  C1P  . 0.42  L2P .. 44.8  C2P  . 0.29  L2C .. 44.9  C2C  . 0.33
-R20   5.06  -48.82   8  L1C .. 34.6  C1C  . 2.67  L1P .. 32.8  C1P  . 2.55  L2P .. 36.2  C2P  . 2.19  L2C .. 34.3  C2C  . 2.24
-E02  43.91 -107.45  10  L1C .. 47.6  C1C  . 0.27  L6C .. 50.3  C6C  . 0.00  L5Q .. 48.5  C5Q  . 0.11  L7Q .. 48.8  C7Q  . 0.14  L8Q .. 51.7  C8Q  . 0.00
-E03   2.45 -161.42  10  L1C .. 37.7  C1C  . 0.74  L6C .. 37.4  C6C  . 0.00  L5Q .. 36.9  C5Q  . 0.14  L7Q .. 37.6  C7Q  . 0.18  L8Q .. 40.3  C8Q  . 0.00
+E02  43.91 -107.45  10  L1C .. 47.6  C1C  . 0.27  L6C .. 50.3  C6C  . 0.23  L5Q .. 48.5  C5Q  . 0.11  L7Q .. 48.8  C7Q  . 0.14  L8Q .. 51.7  C8Q  . 0.02
+E03   2.45 -161.42  10  L1C .. 37.7  C1C  . 0.74  L6C .. 37.4  C6C  . 0.48  L5Q .. 36.9  C5Q  . 0.14  L7Q .. 37.6  C7Q  . 0.18  L8Q .. 40.3  C8Q  . 0.16
 E04   8.83   44.72   7  C1C  . 0.00  C6C  . 0.00  L5Q .. 28.5  C5Q  . 0.00  C7Q  . 0.00  L8Q .. 31.2  C8Q  . 0.00
-E05  37.64  160.08  10  L1C .. 46.5  C1C  . 0.13  L6C .. 49.7  C6C  . 0.00  L5Q .. 47.0  C5Q  . 0.12  L7Q .. 47.5  C7Q  . 0.10  L8Q .. 50.3  C8Q  . 0.00
-E09  42.44   89.19  10  L1C .. 47.7  C1C  . 0.20  L6C .. 50.7  C6C  . 0.00  L5Q .. 48.1  C5Q  . 0.09  L7Q .. 48.9  C7Q  . 0.19  L8Q .. 51.5  C8Q  . 0.00
-E11  20.61   64.05  10  L1C .. 41.7  C1C  . 0.14  L6C .. 42.8  C6C  . 0.00  L5Q .. 39.0  C5Q  . 0.14  L7Q .. 39.2  C7Q  . 0.12  L8Q .. 42.1  C8Q  . 0.00
-E25  29.05 -169.12  10  L1C .. 44.2  C1C  . 0.36  L6C .. 47.6  C6C  . 0.00  L5Q .. 45.0  C5Q  . 0.13  L7Q .. 46.0  C7Q  . 0.20  L8Q .. 48.5  C8Q  . 0.00
-E30  18.32  -53.65  10  L1C .. 42.8  C1C  . 0.34  L6C .. 46.1  C6C  . 0.00  L5Q .. 42.7  C5Q  . 0.26  L7Q .. 43.5  C7Q  . 0.32  L8Q .. 46.1  C8Q  . 0.00
-E34  26.84  -52.94  10  L1C .. 45.5  C1C  . 0.36  L6C .. 46.7  C6C  . 0.00  L5Q .. 44.1  C5Q  . 0.22  L7Q .. 44.6  C7Q  . 0.21  L8Q .. 47.4  C8Q  . 0.00
-E36  44.38   10.32  10  L1C .. 47.1  C1C  . 0.23  L6C .. 50.4  C6C  . 0.00  L5Q .. 48.4  C5Q  . 0.18  L7Q .. 49.1  C7Q  . 0.13  L8Q .. 51.7  C8Q  . 0.00
-J02  25.68  -71.42  12  L1C .. 43.6  C1C  . 0.60  L2L .. 40.0  C2L  . 0.83  L5Q .. 44.4  C5Q  . 0.00  L1L .. 43.6  C1L  . 0.71  L1Z .. 43.4  C1Z  . 0.64  L5P .. 40.8  C5P  . 0.00
-J03  18.88  -66.71  12  L1C .. 41.0  C1C  . 0.45  L2L .. 40.3  C2L  . 0.58  L5Q .. 42.9  C5Q  . 0.00  L1L .. 41.7  C1L  . 0.49  L1Z .. 41.4  C1Z  . 0.47  L5P .. 39.4  C5P  . 0.00
-J04   6.08 -127.48  12  L1C .. 39.3  C1C  . 1.18  L2L .. 38.2  C2L  . 1.45  L5Q .. 39.2  C5Q  . 0.00  L1L .. 38.7  C1L  . 1.31  L1Z .. 40.4  C1Z  . 1.21  L5P .. 35.0  C5P  . 0.00
-J07   3.70  -94.81  11  C1C  . 0.51  L2L .. 37.0  C2L  . 0.20  L5Q .. 39.5  C5Q  . 0.00  L1L .. 32.7  C1L  . 0.21  L1Z .. 38.9  C1Z  . 0.25  L5P .. 30.9  C5P  . 0.00
-C01  20.30 -102.21   6  L2I .. 41.8  C2I  . 0.28  L7I .. 42.6  C7I  . 0.00  L6I .. 40.1  C6I  . 0.08
-C04  35.59 -109.87   6  L2I .. 44.5  C2I  . 0.09  L7I .. 45.4  C7I  . 0.00  L6I .. 44.6  C6I  . 0.04
-C11  18.91  -42.10   6  L2I .. 39.0  C2I  . 1.22  L7I .. 46.1  C7I  . 0.00  L6I .. 44.6  C6I  . 0.45
-C12  51.55    8.60   6  L2I .. 48.5  C2I  . 0.36  L7I .. 51.5  C7I  . 0.00  L6I .. 50.9  C6I  . 0.14
-C14   7.32 -150.82   6  L2I .. 37.8  C2I  . 2.35  L7I .. 40.9  C7I  . 0.00  L6I .. 41.4  C6I  . 0.25
-C21  75.79  138.30  10  L1P .. 49.0  C1P  . 0.00  L5P .. 51.9  C5P  . 0.00  L2I .. 50.8  C2I  . 0.25  L6I .. 52.5  C6I  . 0.07  L7D .. 51.0  C7D  . 0.00
-C22  36.50   44.63  10  L1P .. 47.4  C1P  . 0.00  L5P .. 47.4  C5P  . 0.00  L2I .. 49.6  C2I  . 0.24  L6I .. 49.9  C6I  . 0.25  L7D .. 47.3  C7D  . 0.00
-C24  16.27 -139.62  10  L1P .. 43.9  C1P  . 0.00  L5P .. 42.8  C5P  . 0.00  L2I .. 44.7  C2I  . 0.69  L6I .. 43.5  C6I  . 0.17  L7D .. 42.6  C7D  . 0.00
-C25   8.87  -85.45  10  L1P .. 38.0  C1P  . 0.00  L5P .. 40.3  C5P  . 0.00  L2I .. 41.7  C2I  . 1.90  L6I .. 41.5  C6I  . 0.39  L7D .. 39.8  C7D  . 0.00
-C26   4.25  177.77  10  L1P .. 40.0  C1P  . 0.00  L5P .. 37.8  C5P  . 0.00  L2I .. 41.7  C2I  . 0.58  L6I .. 40.5  C6I  . 0.22  L7D .. 37.7  C7D  . 0.00
-C34  36.24  -28.48  10  L1P .. 46.7  C1P  . 0.00  L5P .. 42.5  C5P  . 0.00  L2I .. 48.9  C2I  . 0.43  L6I .. 48.1  C6I  . 0.22  L7D .. 42.3  C7D  . 0.00
-C35  16.68  103.11  10  L1P .. 41.8  C1P  . 0.00  L5P .. 41.5  C5P  . 0.00  L2I .. 43.3  C2I  . 0.37  L6I .. 43.0  C6I  . 0.19  L7D .. 40.9  C7D  . 0.00
-C40  10.26  -34.76  10  L1P .. 42.4  C1P  . 0.00  L5P .. 37.4  C5P  . 0.00  L2I .. 43.1  C2I  . 0.49  L6I .. 39.4  C6I  . 0.53  L7D .. 38.4  C7D  . 0.00
-C42  30.61 -156.42  10  L1P .. 46.0  C1P  . 0.00  L5P .. 46.6  C5P  . 0.00  L2I .. 47.7  C2I  . 0.42  L6I .. 48.1  C6I  . 0.08  L7D .. 46.1  C7D  . 0.00
-C44  53.90   52.53  10  L1P .. 48.1  C1P  . 0.00  L5P .. 49.4  C5P  . 0.00  L2I .. 50.9  C2I  . 0.32  L6I .. 50.9  C6I  . 0.15  L7D .. 48.9  C7D  . 0.00
-C57   0.00    0.00   4  L2I .. 48.1  C2I  . 0.26  L6I .. 48.2  C6I  . 0.09
-C59  15.79 -100.68   6  L2I .. 43.8  C2I  . 0.15  L6I .. 41.7  C6I  . 0.14  L7D .. 41.5  C7D  . 0.00
+E05  37.64  160.08  10  L1C .. 46.5  C1C  . 0.13  L6C .. 49.7  C6C  . 0.12  L5Q .. 47.0  C5Q  . 0.12  L7Q .. 47.5  C7Q  . 0.10  L8Q .. 50.3  C8Q  . 0.03
+E09  42.44   89.19  10  L1C .. 47.7  C1C  . 0.20  L6C .. 50.7  C6C  . 0.13  L5Q .. 48.1  C5Q  . 0.09  L7Q .. 48.9  C7Q  . 0.19  L8Q .. 51.5  C8Q  . 0.04
+E11  20.61   64.05  10  L1C .. 41.7  C1C  . 0.14  L6C .. 42.8  C6C  . 0.14  L5Q .. 39.0  C5Q  . 0.14  L7Q .. 39.2  C7Q  . 0.12  L8Q .. 42.1  C8Q  . 0.03
+E25  29.05 -169.12  10  L1C .. 44.2  C1C  . 0.36  L6C .. 47.6  C6C  . 0.26  L5Q .. 45.0  C5Q  . 0.13  L7Q .. 46.0  C7Q  . 0.20  L8Q .. 48.5  C8Q  . 0.07
+E30  18.32  -53.65  10  L1C .. 42.8  C1C  . 0.34  L6C .. 46.1  C6C  . 0.37  L5Q .. 42.7  C5Q  . 0.26  L7Q .. 43.5  C7Q  . 0.32  L8Q .. 46.1  C8Q  . 0.03
+E34  26.84  -52.94  10  L1C .. 45.5  C1C  . 0.36  L6C .. 46.7  C6C  . 0.59  L5Q .. 44.1  C5Q  . 0.22  L7Q .. 44.6  C7Q  . 0.21  L8Q .. 47.4  C8Q  . 0.05
+E36  44.38   10.32  10  L1C .. 47.1  C1C  . 0.23  L6C .. 50.4  C6C  . 0.14  L5Q .. 48.4  C5Q  . 0.18  L7Q .. 49.1  C7Q  . 0.13  L8Q .. 51.7  C8Q  . 0.04
+J02  25.68  -71.42  12  L1C .. 43.6  C1C  . 0.60  L2L .. 40.0  C2L  . 0.83  L5Q .. 44.4  C5Q  . 0.06  L1L .. 43.6  C1L  . 0.71  L1Z .. 43.4  C1Z  . 0.64  L5P .. 40.8  C5P  . 0.09
+J03  18.88  -66.71  12  L1C .. 41.0  C1C  . 0.45  L2L .. 40.3  C2L  . 0.58  L5Q .. 42.9  C5Q  . 0.17  L1L .. 41.7  C1L  . 0.49  L1Z .. 41.4  C1Z  . 0.47  L5P .. 39.4  C5P  . 0.17
+J04   6.08 -127.48  12  L1C .. 39.3  C1C  . 1.18  L2L .. 38.2  C2L  . 1.45  L5Q .. 39.2  C5Q  . 0.59  L1L .. 38.7  C1L  . 1.31  L1Z .. 40.4  C1Z  . 1.21  L5P .. 35.0  C5P  . 0.60
+J07   3.70  -94.81  11  C1C  . 0.51  L2L .. 37.0  C2L  . 0.20  L5Q .. 39.5  C5Q  . 0.09  L1L .. 32.7  C1L  . 0.21  L1Z .. 38.9  C1Z  . 0.25  L5P .. 30.9  C5P  . 0.16
+C01  20.30 -102.21   6  L2I .. 41.8  C2I  . 0.00  L7I .. 42.6  C7I  . 0.00  L6I .. 40.1  C6I  . 0.00
+C04  35.59 -109.87   6  L2I .. 44.5  C2I  . 0.00  L7I .. 45.4  C7I  . 0.00  L6I .. 44.6  C6I  . 0.00
+C11  18.91  -42.10   6  L2I .. 39.0  C2I  . 0.00  L7I .. 46.1  C7I  . 0.00  L6I .. 44.6  C6I  . 0.00
+C12  51.55    8.60   6  L2I .. 48.5  C2I  . 0.00  L7I .. 51.5  C7I  . 0.00  L6I .. 50.9  C6I  . 0.00
+C14   7.32 -150.82   6  L2I .. 37.8  C2I  . 0.00  L7I .. 40.9  C7I  . 0.00  L6I .. 41.4  C6I  . 0.00
+C21  75.79  138.30  10  L1P .. 49.0  C1P  . 0.14  L5P .. 51.9  C5P  . 0.06  L2I .. 50.8  C2I  . 0.25  L6I .. 52.5  C6I  . 0.08  L7D .. 51.0  C7D  . 0.07
+C22  36.50   44.63  10  L1P .. 47.4  C1P  . 0.30  L5P .. 47.4  C5P  . 0.16  L2I .. 49.6  C2I  . 0.26  L6I .. 49.9  C6I  . 0.25  L7D .. 47.3  C7D  . 0.21
+C24  16.27 -139.62  10  L1P .. 43.9  C1P  . 0.74  L5P .. 42.8  C5P  . 0.12  L2I .. 44.7  C2I  . 0.71  L6I .. 43.5  C6I  . 0.16  L7D .. 42.6  C7D  . 0.19
+C25   8.87  -85.45  10  L1P .. 38.0  C1P  . 1.84  L5P .. 40.3  C5P  . 0.29  L2I .. 41.7  C2I  . 1.50  L6I .. 41.5  C6I  . 0.37  L7D .. 39.8  C7D  . 0.35
+C26   4.25  177.77  10  L1P .. 40.0  C1P  . 0.75  L5P .. 37.8  C5P  . 0.28  L2I .. 41.7  C2I  . 0.66  L6I .. 40.5  C6I  . 0.22  L7D .. 37.7  C7D  . 0.28
+C34  36.24  -28.48  10  L1P .. 46.7  C1P  . 0.36  L5P .. 42.5  C5P  . 0.23  L2I .. 48.9  C2I  . 0.44  L6I .. 48.1  C6I  . 0.21  L7D .. 42.3  C7D  . 0.38
+C35  16.68  103.11  10  L1P .. 41.8  C1P  . 0.44  L5P .. 41.5  C5P  . 0.20  L2I .. 43.3  C2I  . 0.34  L6I .. 43.0  C6I  . 0.19  L7D .. 40.9  C7D  . 0.21
+C40  10.26  -34.76  10  L1P .. 42.4  C1P  . 0.36  L5P .. 37.4  C5P  . 0.32  L2I .. 43.1  C2I  . 0.45  L6I .. 39.4  C6I  . 0.54  L7D .. 38.4  C7D  . 0.31
+C42  30.61 -156.42  10  L1P .. 46.0  C1P  . 0.34  L5P .. 46.6  C5P  . 0.17  L2I .. 47.7  C2I  . 0.33  L6I .. 48.1  C6I  . 0.08  L7D .. 46.1  C7D  . 0.14
+C44  53.90   52.53  10  L1P .. 48.1  C1P  . 0.18  L5P .. 49.4  C5P  . 0.11  L2I .. 50.9  C2I  . 0.34  L6I .. 50.9  C6I  . 0.15  L7D .. 48.9  C7D  . 0.10
+C57   0.00    0.00   4  L2I .. 48.1  C2I  . 0.00  L6I .. 48.2  C6I  . 0.00
+C59  15.79 -100.68   6  L2I .. 43.8  C2I  . 0.00  L6I .. 41.7  C6I  . 0.00  L7D .. 41.5  C7D  . 0.00
+> 2022 06 21 00 00 30.0000000 41  0.6
+...
+</p>
+</pre>
+
+<p>
+<b>The epoch-specific output </b>
+</p>
+
+<p>
+Each 'Epoch Record' contains 9 parameters. Example:
+</p>
+<pre>
 > 2022 06 21 00 00 30.0000000 49  0.5
-...
-</p>
-</pre>
-
-<p>
-<b>The epoch-specific output </b>
-</p>
-
-<p>
-Each 'Epoch Record' contains 9 parameters. Example:
-</p>
-<pre>
-> 2022 06 21 00 00 30.0000000 49  0.5
 </pre>
 <p>
@@ -2103,5 +2072,5 @@
 </p>
 <ul>
-  <li>Special character '&#62;' is the first character in each 'Epoch Record' (as we have it in RINEX Version 3)</li>
+  <li>Special character '&#62;' is the first character in each 'Epoch Record' (as we have it in RINEX Version 3/4)</li>
   <li>Year, GPS time</li>
   <li>Month, GPS time</li>
@@ -2162,29 +2131,55 @@
 <p><h4 id="reqcplots">2.6.5 Plots for Signals - mandatory if 'Action' is set to 'Analyze'</h4></p>
 <p>
-BNC can produce plots for multipath, signal-to-noise ratio, satellite availability, satellite elevation, and PDOP values. The 'Plots for signals' option lets you exactly specify the observation signals to be used for that and also enables the plot production.
-You can specify the navigation system (C = BDS, E = Galileo, G = GPS, J = QZSS, R = GLONASS, S = SBAS), the frequency, and the tracking mode or channel as defined in RINEX Version 3. Specifications for frequency
-and tracking mode or channel must be separated by ampersand character '&'. Specifications for each navigation systems must be separated by blank character ' '.
-
-<p>Examples for 'Plots for signals' option:<ul><li> G:1&2&5 R:1&2&3 E:1&7 C:2&6 J:1&2 I:5&9 S:1&5
-(Plots will be based on GPS observations on 1st, 2nd and 5th frequency, GLONASS observations on 1st, 2nd and 3rd frequency,
-QZSS observations on 1st and 2nd frequency, Galileo observations on 1st and 7th frequency, BeiDou observations on
-2end and 6th frequency, SBAS observations on 1st frequency.)
-</li>
-<li>G:1C&5X (Plots will be based on GPS observations on 1st frequency in C tracking mode and GPS observations on 5th frequency in X tracking mode.)
-</li>
-<li>C:6I&7I (Plots will be based on BeiDou observations on 6th frequency in I tracking mode and BeiDou observations on 7th frequency in I tracking mode.)
-</ul>
-</p>
-<p>
-Default is 'C:2&7 E:1&5 G:1&2 J:1&2 R:1&2 S:1&5 I:5&9'. Specifying an empty option string would be overruled by this default.
-</p>
+BNC can produce plots for multipath, signal-to-noise ratio, satellite availability, satellite elevation, and PDOP values.
+The 'Plots for signals' option lets you exactly specify the observation signals to be used for that and also enables the plot production.
+You can specify
+<ul>
+<li> the navigation system (C = BDS, E = Galileo, G = GPS, I = IRNSS, J = QZSS, R = GLONASS, S = SBAS),</li>
+<li> the band/frequency, and </li>
+<li> the attribute as defined in RINEX Version 3/4.</li>
+</ul>
+Specifications for band/frequency and attribute must be separated by ampersand character '&'.
+<p>
+Specifications for each navigation system must be separated by blank character ' '.
+</p>
+<p>
+Default is 'G:1&2&5 R:1&2&3 E:1&7 C:2&6 J:1&2 I:5&9 S:1&5'. Specifying an empty option string would be overruled by this default.
+</p>
+Examples for the 'Plots for signals' option:
+<ul>
+<li>G:1&2&5 E:1&7 (Plots will be based on GPS observations on 1st, 2nd and 5th frequency as well as on Galileo observations on 1st and 7th frequency.)</li>
+<li>G:1C&5X (Plots will be based on GPS observations on the 1st frequency in 'C' tracking mode andand on the 5th frequency in 'X' tracking mode.)</li>
+<li>C:2I&6I (Plots will be based on BDS observations on the 2th and on the 6th frequency; both in 'I' tracking mode.)</li>
+</ul>
+<p>
+An example configuration with plot results can be seen below.
+</p>
+
+<p><img src="IMG/Figure09.png"width=900/></p>
+<p>Figure 9: Example for creating RINEX quality check analysis graphics output with BNC</p>
+
+<p><img src="IMG/Figure10.png"width=900/></p>
+<p>Figure 10: Example for satellite availability, elevation and PDOP plots as a result of a RINEX quality check analysis with BNC</p>
+
+<p><img src="IMG/Figure11.png"width=900/></p>
+<p>Figure 11: Sky plot examples for multipath, part of RINEX quality check analysis with BNC</p>
+
+<p><img src="IMG/Figure12.png"width=900/></p>
+<p>Figure 12: Sky plot examples for signal-to-noise ratio, part of RINEX quality check analysis with BNC</p>
 
 <p><h4 id="reqcdir">2.6.6 Directory for Plots - optional if 'Action' is set to 'Analyze'</h4></p>
 <p>
-If 'Analyze' is selected, specifying the path to a directory where plot files will be saved is optional. Filenames will be composed from the RINEX input filename(s) plus suffix 'PNG' to indicate the plot file format in use. Default is an empty option field, meaning that plots will not be saved on disk.
+If 'Analyze' is selected, specifying the path to a directory where plot files will be saved is optional.
+Filenames will be composed from the RINEX input filename(s) plus suffix 'png' to indicate the plot file format in use.
+Default is an empty option field, meaning that plots will not be saved on disk.
 </p>
 
 <p><h4 id="reqcedit">2.6.7 Set Edit Options - mandatory if 'Action' is set to 'Edit/Concatenate'</h4></p>
-<p>Once the 'Edit/Concatenate' action is selected, you have to 'Set Edit Options'. BNC lets you specify the RINEX version, a signal priority list when mapping RINEX Version 3 to Version 2, the sampling interval, begin and end of file, operator, observation types, comment lines, and marker, antenna, receiver details. Note that some of the specifications for editing and concatenation are only meaningful for RINEX Observation files but not for RINEX Navigation files.
+<p>
+Once the 'Edit/Concatenate' action is selected, you have to 'Set Edit Options'.
+BNC lets you specify the RINEX version, a signal priority list when mapping RINEX Version 3/4 to Version 2,
+the sampling interval, begin and end of file, operator, observation types, comment lines, and marker, antenna,
+receiver details. Note that some of the specifications for editing and concatenation are only meaningful
+for RINEX Observation files but not for RINEX Navigation files.
 </p>
 
@@ -2193,44 +2188,44 @@
 </p>
 
-<p>
-<ul>
-  <li>The RINEX Version 2 format ignores signal generation attributes. Therefore, when converting <b>RINEX Version 3 to Version 2</b> Observation files, BNC is forced to somehow map signals with attributes to signals without attributes although this cannot be done in one-to-one correspondence. Hence we introduce a 'Version 2 Signal Priority' list of attributes (characters, forming a string) for mapping Version 3 to Version 2, see details in section 'RINEX Observations/Version 2'.
-  <li>When converting <b>RINEX Version 2 to Version 3</b> Observation files, the tracking mode or channel information in the (last character out of the 3-character) observation code is left blank if unknown. This is a compromise, knowing that it is not in accordance with the RINEX Version 3 documentation.</li>
-</ul>
-</p>
-
-<p>
-Optionally you may specify a 'RUN BY' string to be included in the emerging new RINEX file header. Default is an empty option field, meaning the operator's ID is automatically used as 'RUN BY' string.
-</p>
-
-<p>
-You can specify a list of observation codes in field 'Use Obs. Types' to limit the output file content to specific observation codes. GNSS system characters in that list are followed by a colon and a 2- or 3-Character observation code. A 2-Character observation code would mean that all available tracking modes of the affected observation type and frequency will be accepted as part of the RINEX output file. Observation codes are separated by a blank character. Default is an empty option field, meaning that any input observation code will become part of the RINEX output file.
-</p>
-
-<p>
-Specifying comment line text to be added to the emerging new RINEX file header is another option. Any introduction of a newline through '\n' in this enforces the beginning of a further comment line. Comment lines will be added to the header immediately after the 'PGM / RUN BY / DATE' record. Default is an empty option field, meaning that no additional comment line will be added to the RINEX header.
-</p>
-
-<p>
-If you specify a 'New' but no 'Old' marker/antenna/receiver name, the corresponding data field in the emerging new RINEX Observation file will be filled accordingly. If you in addition specify an 'Old' marker/antenna/receiver name, the corresponding data field in the emerging new RINEX Observation file will only be filled accordingly where 'Old' specifications match existing file content.
-</p>
-
-<p><img src="IMG/screenshot27.png"/></p>
-<p>Figure 10: Example for BNC's 'RINEX Editing Options' window</p>
-
-<p><img src="IMG/screenshot25.png"/></p>
-<p>Figure 11: Example for RINEX file concatenation with BNC</p>
-
-<p><img src="IMG/screenshot29.png"/></p>
-<p>Figure 12: Example for creating RINEX quality check analysis graphics output with BNC</p>
-
-<p><img src="IMG/screenshot30.png"/></p>
-<p>Figure 13: Example for satellite availability, elevation and PDOP plots as a result of a RINEX quality check analysis with BNC</p>
-
-<p><img src="IMG/screenshot33.png"/></p>
-<p>Figure 14: Sky plot examples for multipath, part of RINEX quality check analysis with BNC</p>
-
-<p><img src="IMG/screenshot34.png"/></p>
-<p>Figure 15: Sky plot examples for signal-to-noise ratio, part of RINEX quality check analysis with BNC</p>
+<ul>
+  <li>The RINEX Version 2 format ignores signal generation attributes. Therefore, when converting <b>RINEX Version 3/4 to Version 2</b>
+      Observation files, BNC is forced to somehow map signals with attributes to signals without attributes although this cannot be done
+      in one-to-one correspondence. Hence we introduce a 'Version 2 Signal Priority' list of attributes (characters, forming a string)
+      for mapping Version 3/4 to Version 2, see details in section 'RINEX Observations/Version 2'.</li>
+  <li>Converting <b>RINEX Version 2 to Version 3/4</b> Observation files  is not recommended because the attribute in the observation code
+      (last character out of the 3-character) is left blank if unknown. This is a compromise, which is not in accordance with the
+      RINEX Version 3/4 documentation.</li>
+</ul>
+
+<p>
+Optionally you may specify a 'RUN BY' string to be included in the emerging new RINEX file header. Default is an empty option field,
+meaning the operator's ID is automatically used as 'RUN BY' string.
+</p>
+<p>
+You can specify a list of observation codes in field 'Use Obs. Types' to limit the output file content to specific observation codes.
+GNSS system characters in that list are followed by a colon and a 2- or 3-Character observation code.
+A 2-Character observation code would mean that all available tracking modes of the affected observation type and frequency
+will be accepted as part of the RINEX output file. Observation codes are separated by a blank character.
+Default is an empty option field, meaning that any input observation code will become part of the RINEX output file.
+</p>
+
+<p>
+Specifying comment line text to be added to the emerging new RINEX file header is another option.
+Any introduction of a newline through '\n' in this enforces the beginning of a further comment line.
+Comment lines will be added to the header immediately after the 'PGM / RUN BY / DATE' record.
+Default is an empty option field, meaning that no additional comment line will be added to the RINEX header.
+</p>
+
+<p>
+If you specify a 'New' but no 'Old' marker/antenna/receiver name, the corresponding data field in the emerging new RINEX Observation file
+will be filled accordingly. If you in addition specify an 'Old' marker/antenna/receiver name, the corresponding data field
+in the emerging new RINEX Observation file will only be filled accordingly where 'Old' specifications match existing file content.
+</p>
+
+<p><img src="IMG/Figure13.png"width=500/></p>
+<p>Figure 13: Example for BNC's 'RINEX Editing Options' window</p>
+
+<p><img src="IMG/Figure14.png"width=900/></p>
+<p>Figure 14: Example for RINEX file concatenation with BNC</p>
 
 <p><h4 id="reqccommand">2.6.8 Command Line, No Window - optional</h4></p>
Index: /trunk/BNC/src/bncmain.cpp
===================================================================
--- /trunk/BNC/src/bncmain.cpp	(revision 9853)
+++ /trunk/BNC/src/bncmain.cpp	(revision 9854)
@@ -65,5 +65,5 @@
   BNC_CORE->stopCombination();
   sleep(2);
-  ::exit(0);
+  ::exit(99);
 }
 
@@ -346,5 +346,5 @@
     if (QRegExp("--?help").exactMatch(argv[ii])) {
       cout << printHelp.data();
-      exit(0);
+      exit(1);
     }
     if (QRegExp("--?nw").exactMatch(argv[ii])) {
@@ -353,5 +353,5 @@
     if (QRegExp("--?version").exactMatch(argv[ii])) {
       cout << BNCPGMNAME << endl;
-      exit(0);
+      exit(2);
     }
     if (QRegExp("--?display").exactMatch(argv[ii])) {
@@ -509,5 +509,6 @@
     BNC_CORE->connect(caster, SIGNAL(getThreadsFinished()), app->instance(), SLOT(quit()));
 
-    BNC_CORE->connect (caster, SIGNAL(mountPointsRead(QList<bncGetThread*>)), app->instance(), SLOT(quit()));
+//  BNC_CORE->connect (caster, SIGNAL(mountPointsRead(QList<bncGetThread*>)), app->instance(), SLOT(slotMountPointsRead(QList<bncGetThread*>)));
+
 
     BNC_CORE->slotMessage("========== Start BNC v" BNCVERSION " (" BNC_OS ") ==========", true);
@@ -523,5 +524,5 @@
       if (caster->numStations() == 0) {
         BNC_CORE->slotMessage("bncMain: number of caster stations: 0 => exit" , true);
-        exit(0);
+        exit(3);
       }
     }
Index: /trunk/BNC/src/bncsettings.cpp
===================================================================
--- /trunk/BNC/src/bncsettings.cpp	(revision 9853)
+++ /trunk/BNC/src/bncsettings.cpp	(revision 9854)
@@ -44,8 +44,4 @@
 
   QSettings settings(BNC_CORE->confFileName(), QSettings::IniFormat);
-
-#ifdef GNSSCENTER_PLUGIN
-  settings.beginGroup("BNC");
-#endif
 
   // Read from File
@@ -151,10 +147,10 @@
     setValue_p("serialMountPoint",    "");
     setValue_p("serialPortName",      "");
-    setValue_p("serialBaudRate",      "9600");
+    setValue_p("serialBaudRate",  "9600");
     setValue_p("serialFlowControl",   "OFF");
-    setValue_p("serialDataBits",      "8");
-    setValue_p("serialParity",        "NONE");
-    setValue_p("serialStopBits",      "1");
-    setValue_p("serialAutoNMEA",      "Auto");
+    setValue_p("serialDataBits",     "8");
+    setValue_p("serialParity",    "NONE");
+    setValue_p("serialStopBits",     "1");
+    setValue_p("serialAutoNMEA",  "Auto");
     setValue_p("serialFileNMEA",      "");
     setValue_p("serialHeightNMEA",    "");
@@ -162,11 +158,11 @@
     // Outages
     setValue_p("adviseObsRate",       "");
-    setValue_p("adviseFail",          "15");
-    setValue_p("adviseReco",          "5");
+    setValue_p("adviseFail",        "15");
+    setValue_p("adviseReco",         "5");
     setValue_p("adviseScript",        "");
     // Miscellaneous
     setValue_p("miscMount",           "");
     setValue_p("miscIntr",            "");
-    setValue_p("miscScanRTCM",        "0");
+    setValue_p("miscScanRTCM",       "0");
     setValue_p("miscPort",            "");
     // Combination
@@ -209,7 +205,4 @@
     setValue_p("uploadSamplRtcmEph", "5");
   }
-#ifdef GNSSCENTER_PLUGIN
-  settings.endGroup();
-#endif
 }
 
@@ -262,14 +255,10 @@
   settings.clear();
   QMapIterator<QString, QVariant> it(BNC_CORE->_settings);
-#ifdef GNSSCENTER_PLUGIN
-  settings.beginGroup("BNC");
-#endif
+
   while (it.hasNext()) {
     it.next();
     settings.setValue(it.key(), it.value());
   }
-#ifdef GNSSCENTER_PLUGIN
-  settings.endGroup();
-#endif
+
   settings.sync();
 }
Index: /trunk/BNC/src/bncwindow.cpp
===================================================================
--- /trunk/BNC/src/bncwindow.cpp	(revision 9853)
+++ /trunk/BNC/src/bncwindow.cpp	(revision 9854)
@@ -94,8 +94,4 @@
 using namespace std;
 
-#ifdef GNSSCENTER_PLUGIN
-Q_EXPORT_PLUGIN2(gnsscenter_bnc, t_bncFactory)
-#endif
-
 // Constructor
 ////////////////////////////////////////////////////////////////////////////
@@ -104,8 +100,4 @@
   const static QPalette paletteWhite(QColor(255, 255, 255));
   const static QPalette paletteGray(QColor(230, 230, 230));
-
-#ifdef GNSSCENTER_PLUGIN
-  BNC_CORE->setConfFileName("");
-#endif
 
   _caster    = 0;
@@ -2245,9 +2237,7 @@
   BNC_CORE->initCombination();
 
-  connect(_caster, SIGNAL(getThreadsFinished()),
-          this, SLOT(slotGetThreadsFinished()));
-
-  connect (_caster, SIGNAL(mountPointsRead(QList<bncGetThread*>)),
-           this, SLOT(slotMountPointsRead(QList<bncGetThread*>)));
+  connect(_caster, SIGNAL(getThreadsFinished()), this, SLOT(slotGetThreadsFinished()));
+
+  connect (_caster, SIGNAL(mountPointsRead(QList<bncGetThread*>)), this, SLOT(slotMountPointsRead(QList<bncGetThread*>)));
 
   BNC_CORE->slotMessage("========== Start BNC v" BNCVERSION " (" BNC_OS ") ==========", true);
Index: /trunk/BNC/src/orbComp/sp3Comp.cpp
===================================================================
--- /trunk/BNC/src/orbComp/sp3Comp.cpp	(revision 9853)
+++ /trunk/BNC/src/orbComp/sp3Comp.cpp	(revision 9854)
@@ -128,5 +128,5 @@
 
   if (BNC_CORE->mode() != t_bncCore::interactive) {
-    qApp->exit(0);
+    qApp->exit(7);
     msleep(100); //sleep 0.1 sec
   }
Index: /trunk/BNC/src/pppRun.cpp
===================================================================
--- /trunk/BNC/src/pppRun.cpp	(revision 9853)
+++ /trunk/BNC/src/pppRun.cpp	(revision 9854)
@@ -647,5 +647,5 @@
 
   if (BNC_CORE->mode() != t_bncCore::interactive) {
-    qApp->exit(0);
+    qApp->exit(6);
   }
   else {
Index: /trunk/BNC/src/rinex/reqcanalyze.cpp
===================================================================
--- /trunk/BNC/src/rinex/reqcanalyze.cpp	(revision 9853)
+++ /trunk/BNC/src/rinex/reqcanalyze.cpp	(revision 9854)
@@ -98,5 +98,5 @@
   delete _logFile; _logFile = 0;
   if (BNC_CORE->mode() != t_bncCore::interactive) {
-    qApp->exit(0);
+    qApp->exit(8);
     msleep(100); //sleep 0.1 sec
   }
@@ -765,22 +765,4 @@
         << "Interval           : " << _qcFile._interval << " sec"                  << '\n';
 
-  // Number of systems
-  // -----------------
-  QMap<QChar, QVector<const t_qcSatSum*> > systemMap;
-  QMapIterator<t_prn, t_qcSatSum> itSat(_qcFile._qcSatSum);
-  while (itSat.hasNext()) {
-    itSat.next();
-    const t_prn&      prn      = itSat.key();
-    const t_qcSatSum& qcSatSum = itSat.value();
-    systemMap[prn.system()].push_back(&qcSatSum);
-  }
-  *_log << "Navigation Systems : " << systemMap.size() << "   ";
-
-  QMapIterator<QChar, QVector<const t_qcSatSum*> > itSys(systemMap);
-  while (itSys.hasNext()) {
-    itSys.next();
-    *_log << ' ' << itSys.key();
-  }
-  *_log << '\n';
 
   // Observation types per system
@@ -797,4 +779,23 @@
     }
   }
+
+  // Number of analysed systems
+  // --------------------------
+  QMap<QChar, QVector<const t_qcSatSum*> > systemMap;
+  QMapIterator<t_prn, t_qcSatSum> itSat(_qcFile._qcSatSum);
+  while (itSat.hasNext()) {
+    itSat.next();
+    const t_prn&      prn      = itSat.key();
+    const t_qcSatSum& qcSatSum = itSat.value();
+    systemMap[prn.system()].push_back(&qcSatSum);
+  }
+  *_log << "Analysed GNSS      : " << systemMap.size() << "   ";
+  QMapIterator<QChar, QVector<const t_qcSatSum*> > itSys(systemMap);
+  while (itSys.hasNext()) {
+    itSys.next();
+    *_log << ' ' << itSys.key();
+  }
+  *_log << '\n';
+
 
   // System specific summary
@@ -1013,18 +1014,8 @@
                                        << numUnhealthy << " UNHEALTHY   "
                                        << numBad       << " WRONG\n";
-    }
-    if (numBad > 0 || numUnhealthy > 0) {
-      for (unsigned ii = 0; ii < rnxNavFile.ephs().size(); ii++) {
-        t_eph* eph = rnxNavFile.ephs()[ii];
-        QFileInfo navFi(fileName);
-        if (_log) {
-#ifdef BNC_DEBUG_BCEP
-          if (eph->checkState() == t_eph::unhealthy) {
-            *_log  << "                     "
-                << navFi.fileName() << ' ' << QString(": UNHEALTHY %2:%3\n")
-                           .arg(eph->navTypeString(eph->navType(), eph->prn(), 99.0))
-                           .arg(eph->rinexDateStr(eph->TOC(), eph->prn(), 99.0)).toLatin1();
-          }
-#endif
+      if (numBad > 0) {
+        for (unsigned ii = 0; ii < rnxNavFile.ephs().size(); ii++) {
+          t_eph* eph = rnxNavFile.ephs()[ii];
+          QFileInfo navFi(fileName);
           if (eph->checkState() == t_eph::bad) {
             *_log  << "                     "
@@ -1035,8 +1026,6 @@
         }
       }
-    }
-  }
-  if (_log) {
-    *_log << '\n';
+      *_log << '\n';
+    }
   }
 }
Index: /trunk/BNC/src/rinex/reqcedit.cpp
===================================================================
--- /trunk/BNC/src/rinex/reqcedit.cpp	(revision 9853)
+++ /trunk/BNC/src/rinex/reqcedit.cpp	(revision 9854)
@@ -152,5 +152,5 @@
   // -------------
   if (BNC_CORE->mode() != t_bncCore::interactive) {
-    qApp->exit(0);
+    qApp->exit(9);
     msleep(100); //sleep 0.1 sec
   }
Index: /trunk/BNC/src/test_serial.cpp
===================================================================
--- /trunk/BNC/src/test_serial.cpp	(revision 9853)
+++ /trunk/BNC/src/test_serial.cpp	(revision 9854)
@@ -10,5 +10,5 @@
   if (!fp) {
     printf("Cannot open file.\n");
-    exit(1);
+    exit(9);
   }
 
