settingsGUI: make functions inline, reducing the binary size.