rewrote JavaScript functions in settings and added checkboxes to toggle various fields on/off and ensured changes are remembered between sessions.