fix invalid read (iterator is not valid after element was erased + use std::remove
use scoped_ptr for undostack
fix memory leak
fix memory leak (itemDelegate in FavoriteView), and complete constructors (initialize *everything*)
fix memory leak (itemDelegate in FavoriteView), and complete constructors (initialize *everything*)
fix memory leak
get supported Qt image types from Qt