added some custom exceptions, some translates and better error handling if get picture info. fails.