Preference: better memory model, create instance before show, delete immediately after hide.

--HG--
branch : customkb
KeyCaptureLineEdit: cleanup

--HG--
branch : customkb
ShortcutsPage: now shortcuts saved after changed.

--HG--
branch : customkb
MainWindow2: unload shortcuts before show Preference window.

--HG--
branch : customkb