Several changes.

  - gdoor support
  - drop `/var/lib/...` and `/var/cache/...`
  - some bugfixes