go fmt for history
Truncate overflowed history at startup.