Storing pointer to texture rather than copy

I don't know why this was done this way to begin with but now textures
are stored by pointer rather than by value. Also updated were places
where images were being loaded multiple times. Not all places were
updated but some.
Commenting out some debug code