Added notification for images with bad backgrounds, removed old (unused) variables