Tray app is segfaulting if initialization fails
In case the configuration is invalid or e.g. the destination directory is unreachable (which is the case for all users that don't have access to it), the tray app is currently terminating with a segmentation fault, producing a big and ugly error message on the user's screen.
Make sure to catch all problems during initialization and cleanly exit the tray app in case it won't be able to start up.