I noticed that while I was working on the migration for my treefarm-mod. To make sure that it works I loaded a savegame that contained also my resource-monitor-mod, but it was not present in the current enviroment. After loading the save all related monitor-mod-items and so are removed (like expected) but the GUI is still present and because no code for it exists anymore you are not able to close it.
I guess that is because all mods share the same "GUI-space" and the game do not keep track which mod added which gui.
So I would suggest to internally add a string which contains the mod-name to the GUI-objects. If the related mod is disabled/removed the game can then destroy any GUIs that belong to the mod.
[0.9.8] GUI still present if mod was removed
Re: [0.9.8] GUI still present if mod was removed
Thx for the report, we are aware of this and we are planning to solve this.
Re: [0.9.8] GUI still present if mod was removed
This will be fixed in 0.10.1.