I usually start and stop with the 4 or 5 of the smallest stitches my machine will make and then clip the threads close to the top. I have also left the tails long and then I knot them on the front, and then thread a needle with the tails and bury the knot in the batting.
I am wondering if some fray check would stop them from coming loose any further?