Text this: Measures, integrals and martingales