Changed ThreadedResourceManager to use events instead of sleep for when the resource thread isn't loading. Memory leak exists because we are killing the thread instead of waiting for it to close.