added debug code to see data sent back, and turned on localStorage.clear so that new settings will be loaded.