Updated UI files
Changed to correct nearest neighbour (allow not using the index for non-point layers)