removed old legend code and add code for curvy links (comment)
display of number of found paths in gui