I had the new window seal kit replaced... under warranty for the "dancing
windows" problem.
It hasn't helped with the rattles though.
The kit cost comes in at about AU$900, and contains new sensors.
There is a standard fault code for this issue now on the BMW system, its called
Measure No 32795976-01
The part number for the kit is BM51337308822