refactor: fixes a thread-safety error which could be thrown by

ReferenceCollector.
docs: rectifies some content in the readme file.