Fixed crashes random crashes in multithreading caused by useless creation of CheckUnusedFunctions instance per thread.