format
Trains println to show history size
Bugfig and log improvement