Updated garbage collector

updated garbage collector
changed some things with cbaseentity ownership