added gui warning mode to preferences