Added ESC support in gcalctool.