EntitySystem can now be run in a separate thread