//  *********************************   window UI **********************************


        private void MainWindow_Closed(object sender, EventArgs e)
        {
            captureManager.StopCapture();
            System.GC.Collect();
            Console.WriteLine("Albion Assistant Exiting...");
            System.Windows.Application.Current.Shutdown();
            // TODO: figure out how to make this quit faster.. it takes a while for the threads to exit...
        }