Refactor AutoTarget scan and GPS interaction, and cache trait lookup for a slight performance boost