added lua output, gpu edge finder, ear clipping, improved efficiency of
polygon reduction algorithm