Start using standard integers. Spliting emu.h.