* Detect libglib2.0-dev via pkgconfig
* Do not assume config files under ~/.config/ by hardcoding;
  should consider XDG standards.
* Do not hardcode tmp files under /tmp/.
  Should use library functions.
