Fix: a minor bug in handling loop type cubic bezier curive;
Add: improved computation of path length;
Add: a few other minor improvements and fixings;