Avalanches, precursors, and finite-size fluctuations in a mesoscopic model of amorphous plasticity.