umm... read the rest of the thread. I gather (if I'm interpreting the thread correctly) that mameui.ini isn't being updated properly when you exit. If you figure out what you want, you should be able to edit the .ini manually and it should stick...
Just broke my personal record for number of consecutive days without dying!