The book has "flying glass" in bold because it is a heading, and the following checklist pertains to it. In an earthquake, windows and mirrors can shatter, and the force could cause the broken glass to fall at an angle, not just downwards; this is why it is referred to as flying glass.
Anything that is projected into the air could have the verb "to fly" associated with it. For example,
"As I walked through the park, I saw children having a snow fight. Soon afterward, there were snowballs flying all around me as I rushed to get past."
A door is the wood panel with a knob or handle that you open to enter and exit a room. A doorway is the framed opening that the door is mounted to.
As to why a doorway is a safe place during an earthquake (or even if it is), I found conflicting results when I searched for an answer. This article suggests that crawling under a table is more safe:
DO NOT stand in a doorway. You are safer under a table. In modern houses, doorways are no stronger than any other part of the house. The doorway does not protect you from the most likely source of injury−falling or flying objects. Most earthquake-related injuries and deaths are caused by falling or flying objects (e.g., TVs, lamps, glass, bookcases), or by being knocked to the ground.
As discussed in the comments below, the safest place for an earthquake depends on several factors, so please do the necessary research for your area.
Best Answer
This sentence means that the couch (or whatever they're talking about) can be turned into a bed by pulling part of it away from the rest, so that it unfolds.
For example, I could say, "that couch is a futon. It pulls out into a bed." That means that I can unfold the couch to make it a bed.