Strogey,
I always glue down foamcore then paint it with latex paint before applying any scenery. I believe you have my book. I've detailed it's use throughout. Sealing the foam edge with white glue is a great idea if you ever need to glue something to it using any type of glue that will attack the foam like Super Glue.
Dennis