Comment fix
Merge pull request #13 from ferram4/master

Add lock block to avoid crash in temp curve dumping
Fighting with the glutton of memory