cleanup cursor-centred-zoom, and include system platform detection