Critical gradients and plasma flows in the edge plasma of Alcator C-Mod