Implement ESC for a canvas 'editor'.
Add missing carriage return
This should give us back the lcg clang33 build
Do not StringRef a temporary substr! Fixes valgrind report from Gerri.