+ fixed apply filter window, it's now faster.
+ fixed masks, they now use module instead of the avg