Convert Settings to Glib::KeyFile

Maybe this is slower at some points and could be optimized.
But it will be easier to convert the slicer to a library.