Various changes in the tutorial running and fix for roofitcore dictionary.