Handle ESC and RETURN key commands when editing. 

Nice Cleanup