Why not ditch MAMEUI, MAME Plus! and all that unofficial crap and have the guide show users that are otherwise unaware that the MAME/MESS sources are now merged and they have the option of compiling either one or a combined UME build.
For simplicity the MESS ROMs might as well be added to MAME to further eliminate errors that new users might come across.