Changed 'm from "inm" to "nm"
T3: Fixed Esc, added copy, paste, undo and redo