Rewrote settings to use glib instead of libconfig