fixed #10
Using WritableSettingsStore for storing settings fix #13
Extended logging for finding bug #6