Gtk: Fixed duplicate windows

--HG--
extra : amend_source : a3c5312271e0d179f8a85b6aa5c78e1b0cfe1fa4
Extracted shared resources
Improved shared Publish code
Fixed GnuPG error on first start