fixed select query, added keybinding so escape deselects all