Fixed undo file, changed tn short cut and added regex to notes.