Added null check (could happen after Dispose)
Improved handling of decoding errors using FreeImage. Removed exception from logging