How distracting thoughts can make you forget important things.