[DO NOT MERGE YET] Some cleanup

So far
-Fixed spacing in history.c