Fixing a Bug in Multithread Environment

Some Refactoring
EntityComponents Bag Must be local in Multi Thread Environments