public MainWindow()
 {
     XmlConfigurator.Configure();
     mainFormReference = this;
     InitializeComponent();
     GlobusLogHelper.log.Info("Test");
     CopyDatabase();
     makeFileScraper();
     
     
 }
        public MainWindow()
        {
            XmlConfigurator.Configure();
            mainFormReference = this;
             InitializeComponent();
            GlobusLogHelper.log.Info("Test");
            CopyDatabase();
            AppearanceManager.Current.AccentColor = Colors.Brown;
            makeFileScraper();
            GramDominatorMainPage.Title = "GramDominator " + GetAssemblyVersion() + " Licence Provided to  :  " + Globals.Licence_Details ;
            Thread Obj_CheckVersion = new Thread(CheckVersion);
            Obj_CheckVersion.SetApartmentState(ApartmentState.STA);
            Obj_CheckVersion.Start();

        }