Changed loader image and added http error handling.