Updated logging functionality, added remove history