libembroidery API cleanup and notes.