Added debugging functions
Image will now write warning messages in case of invalid textures
Added resource loading logging
Added error message in case of failed glGenTextures