more work done on the object linking

still not completely sure if the gfx.type needs to be specified ...
might have been a case of overgineering
fixed the loader to wait till the css is loaded