Merge branch 'experimental' into BleedingEdge
Change to logging of "Locktarget is ignored for" in Entitycache. More info...
If speed tank is true and orbit distance is setup assume the orbit distance should be our optimal range.... (if someone sets it up where it is not they are really screwing up)
Add 5k of padding.
We can only shoot things that are targeted, so trust that the targeting portion of combat.cs is doing the right thing and only choose targets that are actively targeted.

IF anything needs to be adjusted here it will be in the targeting portion of combat.cs (and that looks fine to me)
pre-sort these lists
fix settings xml comment
IsTarget vs IsActiveTarget, Active Target means it is selected (we only care that it is targeted at all...)
make sure that at all stages whatever we are choosing as a target is actually targeted.
Add try/catch block and some other sanity checking to CheckCargoForItem()
Fix issue with IsApproachingOrOrbiting (and the individual IsApproaching and IsOrbiting) routines that didn't notice when the target of the orbit or approach was killed (or warped off). this should be a huge improvement for speed tanks.
logging fix
Check primary weapon priority targets AND drone priority targets and if their list has a warp scrambling entity that isnt yet targeted AND you are already at your max # of targets then start unlocking non-warpscrambling entities furthest away first until you have all warp scramblers targeted.
more try/catch blocks, this also refines the behavior of GetBesttarget() even further
CamelCase Vars... and remove unnecessary commented code.
Add a new var to cache: OnGridKillableNPCs, so we can determine from combat if we should be running GetBestTarget() yet. We should only run that routine when their are entities targeted and available to kill.

Adjusts GetBestTarget to priorities within primaryweapons priority targets and drone priority targets better, If their is a HIGHER priority target avail then the one we are shooting at it should switch to the high priority target. (we may need to fix the targeting and untargeting routines to do the same!)
Add ISXStealth and a script that gets called by questor BEFORE using directeve. If you use #compile#.bat and #transfertolive#.bat everything will be put in place for you.

If you want to do it by hand: copy isxstealth.dll to the innerspace\extensions directory and the StartingQuestorSafetyScript.iss to your innerspace\scripts directory.

The script is currently required. If the script is not found in the scripts directory questor will hang with an error message on the console before logging in telling you that the script is missing.
READ [ Questor now saves you from shooting yourself in the foot ]
If you already load isxstealth you do NOT need to make any changes to your scripts, this StartingQuestorSafetyScript cgecks to make sure isxstealth is not loaded and only loads it if needed.
Merge branch 'BleedingEdge' into experimental