Modular: more elegant way of removing the gui of a module