clear images while loading
fix missing default constructor
use a view provider to avoid leaks