Hitting Esc should remove the ghost, completion of a variable should use context instead of window.