added proper disposal of things, need to fix Model#dispose, attribuets may have disposable resources, may even share them with other materials :/