X2 the foam will not last there very long, use roof felt, the same stuff that is under the shingles of your house, or buy the repo stuff.
As for the vent, I am not 100% what I would do in your situation, I just left the original line hooked up to the front of the car, but it is not connected to anything.