Adds TM emulator, updates HW1