Added writing the blackborder detector flag to the settings file
Added reading the enable flag for the border detector