disable menu-bar and tool-bar