Fix problems when alternative mask applied & brain_threshold==0
This fixes some silly logic that happens when an alternative mask is applied. Firstly, the mask itself is never saved (maybe a plain old bug?) and second, if brain_threshold is 0, the masking effort is basically totally ignored!
Edited by Tom Nichols