Glass entered the flight deck, prompting the crew to declare an emergency.