some improvements with QStackedWidget;