Simplified some AsssetManager code.
Ensure that assets only get disposed once.