fix unescaping of consecutive escape sequences and add some comments

refs #478