yes is odd …if you look at screen shot of my settings there is no M0g28
so how does it end up in final file
See the image which has part of your posted G-code on the left and part of your posted Texts screenshot on the right.
i.e. What you see in Texts is what you get in the G-code and that’s it (v11 or 12), the works or doesn’t work is up to your controller.
As others have pointed out, using the Estlcam controller interface will tell you absolutely nothing about G-code written for another controller. The only difference between the v11 and 12 controller interface is that v11 ignored all non Estlcam G-code and v12 will complain.