- Fixed crash when image was not downloaded correctly.
- Fixed potential memory leaks.