Scientific findings have linked watching lots of television in middle age to a decline in brain health.