private void Start() { UpdateThread Updater = new UpdateThread(); Thread UpdateThread = new Thread(new ThreadStart(Updater.Start)); UpdateThread.IsBackground = true; UpdateThread.Start(); // Setup ping timer/initial values PingTimer.Elapsed += new ElapsedEventHandler(Ping); PingTimer.Interval = 10000; PingTimer.Enabled = false; Ping_Seq = 1; Latency = 1; // Fire up pather pather = new Pather.PPather(); pather.OnStartGlide(); // Loopdeloop Loop(); // Thread is dead if it gets to this point UpdateThread.Abort(); pather.OnStopGlide(); pather = null; }