Removed the toolbar in gui mode.