rework selectTokenInSource to work through lines
trim the filter to avoid mystery
advance to the next line for each pass of selectTokenInSource
remove tracing; should not be committed