It does sound like she has eggs to lay, the glass-surfing, pacing, etc. is very typical behavior. Do you have a lay-box ready for her? If not, you need to get one together ASAP, as if 2 eggs already came out, the rest are coming soon, and it can be as many as 30+ eggs in a clutch.
If you've never made a laybox before, you need to get a large, plastic tub, like the kind you can buy at Walmart, that is large enough that you can put a large hill of dampened sand on one side of the tub that she can dig a tunnel/cave in. If you buy a big 50 pound bag of playsand at Lowes or Home Deport For like $5 that seems to be what works best for them, as you can dampen it slightly and it will hold it's shape (you don't want the sand wet, just damp enough that a tunnel/cave will hold it's shape). Just pile the dampened sand on one side of the large tub, and about halfway up the sand hill start digging a tunnel for her. Then any time she starts glass-surfing or pacing like she wants out, put her in the plastic tub, in front of the tunnel you started to dig.
If you've never been through this before, it's a process that requires patience, lol. A lot of the time they'll be pacing like crazy and you put them in the laybox and then they just sit there and look at you. It's a process of putting them in the laybox when they start getting frantic, letting them in there for an hour or 2 at a time, and if they don't start digging in that period of time then you put them back in their tank, then the next time they get frantic you put them back in the laybox, etc. Hopefully this will go quickly since she's already passed 2 eggs.
Keep the laybox around, as usually they lay 2-3 clutches, it's rare that they only lay a single clutch, though it does happen.
I'm going to assume that she passed the eggs in her bowel movement because she didn't have a laybox to lay them in, and she couldn't hold them in any longer, so when she pushed out the bowel movement, the eggs came along with it. They typically drop eggs all over the place in the absence of a place to bury them, so that's most likely what happened. Once she starts digging in the laybox, just let her be, at that point they'll generally lay them all at one time, which can take a few hours.
After she's done laying the eggs, give her a nice, warm
bath, lots of water by mouth to drink, and food. She'll need lots of protein and calcium to replace the weight she'll drop after laying the clutch, and to replace the calcium that she used to make the eggs. And keep both the extra food and calcium up for the follow-up clutches.