Separate filter from FlexibleHeader, give collections their own header.
Added ScriptCollection refresh support. Also new header.