refers to #945, added comments about legacy and compat var

Small description added to the comments on legacy_prefilters and compat_layer variables.
Merge pull request #957 from espaan/1.3

refers to #945, added comments about legacy and compat var