MainWindow: Progress bar added

A progress bar has been added, and managed pointer have been replaced by classic
ones because Qt memory management delete QObject children items.