added service path and made settings dialog behave