diff --git a/map65/mainwindow.cpp b/map65/mainwindow.cpp
index 60b81bc5c..90b4a3029 100644
--- a/map65/mainwindow.cpp
+++ b/map65/mainwindow.cpp
@@ -116,7 +116,10 @@ MainWindow::MainWindow(QWidget *parent) :
 
   QTimer *guiTimer = new QTimer(this);
   connect(guiTimer, SIGNAL(timeout()), this, SLOT(guiUpdate()));
-  guiTimer->start(100);                            //Don't change the 100 ms!
+
+  QTimer *m65Timer = new QTimer(this);
+  m65Timer->setSingleShot(true);
+  connect(m65Timer, SIGNAL(timeout()), this, SLOT(setup_m65()));
 
   m_auto=false;
   m_waterfallAvg = 1;
@@ -293,8 +296,10 @@ MainWindow::MainWindow(QWidget *parent) :
   if(ui->actionAFMHot->isChecked()) on_actionAFMHot_triggered();
   if(ui->actionBlue->isChecked()) on_actionBlue_triggered();
 
-  m_dataDir = QStandardPaths::writableLocation (QStandardPaths::DataLocation);
-  m_tempDir = QStandardPaths::writableLocation (QStandardPaths::TempLocation) + "/map65";
+
+
+  m65Timer->start(200);
+  guiTimer->start(100);                            //Don't change the 100 ms!
 
                                              // End of MainWindow constructor
 }
@@ -319,6 +324,14 @@ MainWindow::~MainWindow()
   delete ui;
 }
 
+void MainWindow::setup_m65()
+{
+  m_dataDir = QStandardPaths::writableLocation (QStandardPaths::DataLocation);
+  m_tempDir = QStandardPaths::writableLocation (QStandardPaths::TempLocation) + "/map65";
+  memcpy(datcom_.datadir, m_dataDir.toLatin1(),m_dataDir.length());
+  memcpy(datcom_.tempdir, m_tempDir.toLatin1(),m_tempDir.length());
+}
+
 //-------------------------------------------------------- writeSettings()
 void MainWindow::writeSettings()
 {
diff --git a/map65/mainwindow.h b/map65/mainwindow.h
index 3847f2e7a..0e4689d1a 100644
--- a/map65/mainwindow.h
+++ b/map65/mainwindow.h
@@ -45,6 +45,7 @@ public slots:
   void guiUpdate();
   void doubleClickOnCall(QString hiscall, bool ctrl);
   void doubleClickOnMessages(QString hiscall, QString t2);
+  void setup_m65();
 
 protected:
   virtual void keyPressEvent( QKeyEvent *e );
@@ -264,7 +265,6 @@ private:
     SignalMeter *xSignalMeter;
     SignalMeter *ySignalMeter;
 
-
     SoundInThread soundInThread;             //Instantiate the audio threads
     SoundOutThread soundOutThread;