#26834: [tk-3dsmaxplus] 3ds Max is crashing if we merge 2 objects

func should be run no matter what, right?

So there should be two for loops, one for the hide/lower and one for the show/activate.
Also, is there a reason to hide/activateWindow/raise, or would the current layering be preserved?

For the show (and activate/raise if needed) we should be careful to not show something that was hidden at the start of the method.