memory manager: rename some internal stuff
a note on weak pointer weirdness