Added logs for Rendering pipeline and big fix

Now we are able to see on console if the load and rendering of a mesh
fail. The bug that was making the indices been read bad is fixed.