Remember to check, before you close the case, that the small clear circle where the iSight camera looks out is dust-free, especially if, as I was, you are working with a unit that was pretty dusty inside.
You could easily seal the iMac up and then to your frustration see that there are multiple specks of dust slap-bang in front of the camera lens.