Thank you for creating this mod.
I've found that in mod version 0.3.0, if I open the pipe GUI, add ground interfaces, then rotate an underground connection, and afterwards try to reduce the ground interfaces back to 1, it throws an error and closes the save.