menu: update file colors, fix a bug in emu_if