josh
josh copied to clipboard
Refactor and annotate functions in history handling
This PR doesn't change any behaviour, but rather adds comments and changes variable names in order for code to be more readable -- I hope that comments are correct