Density limits and control in the Globus-M spherical tokamak