public static void Startup(string[] args)
        {
            App = new ApplicationViewModel(args);
            WindowManager.WindowPreviews.ThisApp = App;

            ClipboardNotification.StartListener();
            DragDropFileWatchers.Initialise();
            ApplicationFileWatcher.StartDocumentWatcher();
            //TheRInstance.StartWatcher();
        }
        public static void ShutdownApplication()
        {
            Information.Show("Shutting down application", "App");

            ClipboardNotification.ShutdownListener();
            DragDropFileWatchers.Shutdown();
            ApplicationFileWatcher.StopDocumentWatcher();
            //TheRInstance.StopWatcher();

            Application.Current?.Shutdown();
        }