Fray stopper has been around for a long time. Now is comes in a pen with a brush on top so you can apply more accurately. I used it a lot when dressmaking and have found it useful in quilting especially when you crosscut a seam and are worried about the stitches coming undone before you sew the seam.