Add Horst's updates to ImageSizer.php per PR #414 and add a setModified(bool) method per our conversation.