work on input
convert tab indents to spaces
move trace processing to aircraft, add input processing with selection