add commands to hide/show menu/statusbar etc.