public static void Run(IUIService uiService, string[] args)
        {
            _uiService = uiService;

#if (DEBUG != true)
            // Don't handle the exceptions in Debug mode because otherwise the Debugger wouldn't
            // jump into the code when an exception occurs.
            AppDomain.CurrentDomain.UnhandledException += OnUnhandledException;
#endif
            if (args.Length > 0)
            {
                _loadProjectFilePath = args[0];
            }

            _shell = new ShellViewModel();

            // Show shell
            UI.ShowShell();

            _uiService.BeginInvoke((Action)OnShellLoaded, null, DispatcherPriority.Background);
        }