SceneStructureWindow: add BeginModifications and EndModifications in order to reduce duplicate code. Remove debug print.