Added listener to preferences changes which re-register the service with changed settings.
Use value of SBUILD_HOME classpath variable as default for new settings.