Added a double-click callback.
Tweaked how keydown events work, passing to the last selected node if possible.