Some cleanup and proper setting usage

Let the application decide what the paths are for plugins and themes.
Also scanning plugins and themes uses the source- and targetFolder settings.