loading models from threads

-Updated all model loading realted stuff
-Fixed Object ID bug
-some other stuff i've forgotten