removed the header buttons from the main window