Added TPAControlDistance

Also tweaked TPAControlNearby a bit