Now using simon's smooth path api instead of smoothing the path in lua. There is also a lua fallback for if that api's DFFlag is turned off.