Index: trunk/MagicSoft/Cosy/gui/GuiIncl.h
===================================================================
--- trunk/MagicSoft/Cosy/gui/GuiIncl.h	(revision 8824)
+++ trunk/MagicSoft/Cosy/gui/GuiIncl.h	(revision 8838)
@@ -1,5 +1,3 @@
 #ifndef __CINT__
 
-#include "coord.h"
-
 #endif // __CINT__
Index: trunk/MagicSoft/Cosy/gui/MGCoordinates.h
===================================================================
--- trunk/MagicSoft/Cosy/gui/MGCoordinates.h	(revision 8824)
+++ trunk/MagicSoft/Cosy/gui/MGCoordinates.h	(revision 8838)
@@ -1,10 +1,4 @@
 #ifndef COSY_MGCoordinates
 #define COSY_MGCoordinates
-
-//
-// This File contains the declaration of the MGCoordinates-class
-//
-//   Author: Thomas Bretz
-//   Version: V1.0 (1-8-2000)
 
 #ifndef ROOT_TGFrame
@@ -12,5 +6,7 @@
 #endif
 
-class XY;
+#ifndef MARS_MPointing
+#include "MPointing.h"
+#endif
 
 enum {
Index: trunk/MagicSoft/Cosy/gui/MGCosy.cc
===================================================================
--- trunk/MagicSoft/Cosy/gui/MGCosy.cc	(revision 8824)
+++ trunk/MagicSoft/Cosy/gui/MGCosy.cc	(revision 8838)
@@ -3,8 +3,4 @@
 #include <iomanip>
 #include <fstream>
-
-#include "msgqueue.h"
-#include "coord.h"
-#include "slalib.h"
 
 #include <TROOT.h>
@@ -22,8 +18,12 @@
 #include <TApplication.h>  // gApplication
 
-#include "MCosy.h"
+#include "MLog.h"
+#include "MLogManip.h"
+
 #include "MTime.h"
 #include "MString.h"
 #include "MAstro.h"
+
+#include "MCosy.h"
 #include "MGList.h"
 #include "MDriveCom.h"
@@ -36,4 +36,9 @@
 
 #include "SlaStars.h"
+/*
+#include "msgqueue.h"
+#include "coord.h"
+#include "slalib.h"
+*/
 
 #define DEBUG
@@ -323,5 +328,5 @@
     if (!fin)
     {
-        cout << "ERROR: Predifined positions in 'prepos.txt' not found." << endl;
+        gLog << err << "ERROR: Predifined positions in 'prepos.txt' not found." << endl;
         return;
     }
@@ -359,5 +364,5 @@
     if (!fin)
     {
-        cout << "ERROR: Star List 'stars.txt' not found." << endl;
+        gLog << err << "ERROR: Star List 'stars.txt' not found." << endl;
         return;
     }
