changes to findroadpanel to make it more flexible for other parts of the program to use