Text this: Tau-functions, twistor theory, and quantum field theory