Thank you, i'm glad you had fun.
The cutting and piece creation is quite buggy due to the polygon creation. I didn't do a good job of validating the points for piece polygon creation so there's all sorts of issues with it. The dissapearing one happens because the creation outright crashes when poly edges intersect or touch.