Fixed a few errors, history diff works.