Milestone, buffer is basically working now. That's to say, convex polygons, or some concavities are buffered correctly. Still to do: