Improvements on statistics saving.
Improvements on accurateDoubleToString().