Mips: Improved Instruction analysis and emulation, minor fixes