Connecting Visual Perception, Attention, And Probabilistic Models Of Task Performance With Eeg Measured Brain Activity