EditController modifications:
  - handle canceled preferences dialog
  - fix missing default preferences shortcut, and default to F2 is the native preferences shortcut is empty (happen for me on archlinux + Gnome 3.12, python 3.4 PyQt 5.3.1)