Migraine: where and how does the pain originate?

Migraine: where and how does the pain originate?