Fixed ghost entities +  optimization

Added caching of objects, to reduce network usage, processor usage and ram usage, by caching loaded object data, reducing freezes from loading and parsing object data.