Really sped up the loading of history files.