I think that Emma was in shock. She has just learned it was all true. That this was really the evil queen and just seen Pinocchio turn into wood, so it is like what is this place really. I don’t think it is really a library. At the least it is the entrance to the caves. And i think the sword question is pretty much like what am i supposed to do with that. Emma was in shock and just going on nerves at this point so it worked, in my opinion.