rehaul all os-specifc settings. lots of cleanup