arch_x86: get rid of flags register ; core: fix heap overflow in emulator ; ui_emulator: rename project name