When I machine quilt I leave very long threads when I finish a design and start a new one. Then I take the top thread and thread it through a needle and take it to the back of the quilt next to the underside thread. I tie off the two pieces of thread and thread them to "bury" them into the quilt. It takes a little time but looks very nice.