Edges and finishes in machine embroidery