atostr now can hold 64 different results, and can be called from multiple threads. Thus, a returned string buffer is valid until atostr is called 64 more times.
Fixed log_impl_next.