This also resolves the (unlikely) issue of undo having uninitialized zbuf data, now it's cleared instead.