Added load/save history in examplenoise.
Fixed SaveHistory() and LoadHistory() functions.