scg optimizer enhancments and mrd demo fix