Added option to set captype on extrusion. Should do the same to loft.
And also check the earclip method a bit.