whole window “jumps” to a slightly different location. this must be the result of re-creating the window. it’s first closing it, and then re-creating it.
i wonder if there is a way to put it back right where it was, or if there is a more graceful solution.
to return the new window to where the old window was, perhaps save the position of the old window and set it to the new one? 