Update settings program from splinterz/settings

Most notably changes from:
https://github.com/pjf/masterwork-dwarf-fortress/commit/f005f3f4ad97d5c5fc4d3838a348a7a16964abf8