Index: trunk/BNC/RTCM/RTCM2Decoder.h
===================================================================
--- trunk/BNC/RTCM/RTCM2Decoder.h	(revision 644)
+++ trunk/BNC/RTCM/RTCM2Decoder.h	(revision 645)
@@ -33,5 +33,5 @@
   public:
     RTCM2Decoder();
-    ~RTCM2Decoder();
+    virtual ~RTCM2Decoder();
     virtual void Decode(char* buffer, int bufLen);
 
Index: trunk/BNC/RTCM3/RTCM3Decoder.h
===================================================================
--- trunk/BNC/RTCM3/RTCM3Decoder.h	(revision 644)
+++ trunk/BNC/RTCM3/RTCM3Decoder.h	(revision 645)
@@ -46,6 +46,6 @@
 public:
   RTCM3Decoder();
-  ~RTCM3Decoder();
-  void Decode(char* buffer = 0, int bufLen = 0);
+  virtual ~RTCM3Decoder();
+  virtual void Decode(char* buffer = 0, int bufLen = 0);
 private:
   struct RTCM3ParserData _Parser;
Index: trunk/BNC/RTIGS/RTIGSDecoder.h
===================================================================
--- trunk/BNC/RTIGS/RTIGSDecoder.h	(revision 644)
+++ trunk/BNC/RTIGS/RTIGSDecoder.h	(revision 645)
@@ -33,6 +33,6 @@
 public:
   RTIGSDecoder();
-  ~RTIGSDecoder();
-  void Decode(char* buffer = 0, int bufLen = 0);
+  virtual ~RTIGSDecoder();
+  virtual void Decode(char* buffer = 0, int bufLen = 0);
 private:
   CGPS_Transform _GPSTrans;
Index: trunk/BNC/bncgetthread.cpp
===================================================================
--- trunk/BNC/bncgetthread.cpp	(revision 644)
+++ trunk/BNC/bncgetthread.cpp	(revision 645)
@@ -132,4 +132,5 @@
 }
 
+#define AGENTVERSION "1.5"
 // Connect to Caster, send the Request (static)
 ////////////////////////////////////////////////////////////////////////////
@@ -162,5 +163,11 @@
   QString uName = QUrl::fromPercentEncoding(mountPoint.userName().toAscii());
   QString passW = QUrl::fromPercentEncoding(mountPoint.password().toAscii());
-  QByteArray userAndPwd = uName.toAscii() + ":" + passW.toAscii();
+  QByteArray userAndPwd;
+
+  if(!uName.isEmpty() || !passW.isEmpty())
+  {
+    userAndPwd = "Authorization: Basic " + (uName.toAscii() + ":" +
+    passW.toAscii()).toBase64() + "\r\n";
+  }
 
   QUrl hlp;
@@ -173,18 +180,11 @@
   if ( proxyHost.isEmpty() ) {
    if (hlp.path().indexOf("/") != 0) hlp.setPath("/");
-   reqStr = "GET " + hlp.path().toAscii() + 
-            " HTTP/1.0\r\n"
-            "User-Agent: NTRIP BNC 1.5\r\n"
-            "Authorization: Basic " +
-            userAndPwd.toBase64() + "\r\n";
+     reqStr = "GET " + hlp.path().toAscii() + " HTTP/1.0\r\n";
    } else {
-   reqStr = "GET " + hlp.toEncoded() + 
-            " HTTP/1.0\r\n"
-            "User-Agent: NTRIP BNC 1.5\r\n"
-            "Authorization: Basic " +
-            userAndPwd.toBase64() + "\r\n";
-  }
-  if (hlp.path().indexOf(".skl") > 0) { reqStr += "Host: " + hlp.host().toAscii() + "\r\n"; }
-  reqStr += "\r\n";
+     reqStr = "GET " + hlp.toEncoded() + " HTTP/1.0\r\n";
+  }
+  reqStr += "User-Agent: NTRIP BNC/" AGENTVERSION "\r\n"
+  "Host: " + hlp.host().toAscii() + "\r\n"
+  + userAndPwd + "\r\n";
 
 // NMEA string to handle VRS stream
Index: trunk/BNC/bnctabledlg.cpp
===================================================================
--- trunk/BNC/bnctabledlg.cpp	(revision 644)
+++ trunk/BNC/bnctabledlg.cpp	(revision 645)
@@ -217,4 +217,5 @@
                     _allLines) != success ) {
     QMessageBox::warning(0, "BNC", "Cannot retrieve table of data");
+    _buttonGet->setEnabled(true);
     return;
   }
