Implemented save all for thresholds Fixes #55