Early cortical signals in visual stimulus detection