The MAMEUI.chm file that you include with the MAMEUI packages is very outdated. You have an outdated version 0.158 MAMEUI.chm file. I've attached the updated version 0.167 MAMEUI.chm file. I got it from mamesick's MAMEUIFX package. He still keeps an updated file of it. I just had to rename it.