editor/sublime: Fix variable aliasing, which made fields not show up.

Also only hide/show the completion menu if we've got something new
to show in it.