Cleaned up history changes code. Still borked
Cleaned up history changes code. Still borked

gabrielecirulli/hn-special,gabrielecirulli/hn-special,benoror/hn-special,benoror/hn-special,benoror/hn-special,gabrielecirulli/hn-special