move trace processing to aircraft, add input processing with selection