Is it just me, or the switch casing grounded by a red wire? If so, no wonder there's confusion.
Hard to see exactly what's going on there.
Anyway, maybe this will help: (click to expand)
Note that the coloured lines I drew for the pickup wires are not representative of the actual wire colours. They are arbitrary colours just to differentiate them from each other and the rest.