Surveillance system scans brainwaves to ID possible threats