mpwithopts: handle local and global filters
Improvements