Add keyboard bindings.

Also check if the torrent is loaded so we don't add it twice.