I wrote a ginormous lecture about all this on the General Kilt Talk subforum last week.