minor fencegui bugfixes

fencegui - adjusted how layers are linked to acount for possiblity that
fencegui-matched layer does not necessarily correspond to current
transect pair