(RGUI) Move more settings code outside of rgui.c