Mirror emulator near ready. Small changes in other parts.