Disable gui setup when not in gui mode.