What are those blue boxes in the marsh?

The blue boxes, officially called Manitoba Flycatchers, are located in the marsh and attempt to capture greenhead flies. There is nothing inside of the boxes; it is the blue color which attracts the flies.