Add logging
Add saving and loading of logs
Fix a couple of comment typos