Just thought I would add my 2 cents.

When we used window units (back when I worked nights) I used to use Duct tape around it. Especially with the vinyl windows.... it is a much easier clean up. 2 layers keeps all light out... which is important when you sleep through the day as well...lol