Use GObject notifications instead of popup windows.
(popup code to be removed)
Add error mesages for file permissions.
(to be replaced by notify.)