Does MIOS load every xml/lua file in /etc/cmh-ludl?

Also, does anybody know why it doesn’t remove files that get “uninstalled” from the Application tabs?

As far as I could establish… The logic is a file can only exist once and other apps or device may still use the same file. Therefore, it is not removed just the reference to the app and any associated devices. Noting the the files are very small and compressed.

The behavior of how LUA files are loaded is dependent on how the Plugin developers defines their application definition.

Some LUA files are loaded by the LUA engine at startup.
Most LUA files are loaded during the Plugin Initialization for that plugin.
Some are loaded on demand during runtime.