Restructuration. Commands intergated to widget. QMainWindow. Settings
for window size.