[MOD] GUI, Editor: modularization, refactorings