Couldn't have explained it better, Brian!
Be careful to watch the end bars of your frames as you remove and replace them. Smoke will sometimes panic the queen and she will begin to run down into the hive (that's what you want her to do). But if she is "making an end run" around the outside of the frame, you could squish her between the end bar and the sidewall of the hive body. Steady, slow movement when removing a frame is the key.
When replacing the frame, I place one of the end bars solidly against the wall of the hive body and slowly slide it down into the box. That way, I'm sure nothing is going to get squished against that end, and as a result, there is plenty of space on the other end of the frame. Once the frame is in the hive body, then, I center the frame.