Fixed an issue with data race conditions and slightly modified license formatting