Why not use terrarium background paper on the inside of the foam board, and forget about the carpet inside?

Also, if you spray mount the foam directly to the glass, it'll be tough getting it off when things warm up.