MainWindow: addin g of a control bar