Replaced BMDie->disabled property by BMFlagDisabled