Fixed some comments in ResourceManager.

Changed the definition of virtual onLoadResource up a little.
Forced TextureManager to return NULL if a texture was unable to be loaded so an error can be reported properly.
Removed some unneeded debugging code.