Revert to simple command-line handling (GLib API is f*cking joke)