Merge pull request #2096 from Guite/1.4

performance fixes for group membership selection
prevent output filter from prefixing data urls with base url