bug fix: no-window emacs has not tool-bar-mode variable