Hi Mark
I have used an optical sensor previously and Birtho uses one now AFAIK. I stopped using mine due to inconsistent leveling though in hind sight it wasn't the sensor's fault.
A few people, me included are using heavier springs now which makes the platform steadier though you lose a bit of Z height.
As for adjusting your Z height in GCode, which I do, you use the M92 command which instructs the UM where any axis is at.
M92 Z0.1 ;Make Z more negative for a bigger gap
Using this takes out the need to have a Z adjusting screw and it's easy to make an exact adjustment.