A brainwave monitor helps train people to pay attention and boosts performance.