Save word lookup stats at the end.