Updated and expanded image status and error handling.