Test for GUI setup functions (i.e. tool-bar-mode) before calling