Minor UX tweaks and bug fixing.

Implemented key bindings. Bug fix - the sorting clears text data.