Fixed bugs, improved path interpolation.