Update Program.cs

fixed auto ghost control and updated logic for ghost. added target rechecking before dps alternatives