expand xdg variables in config to their defaults if not set in env
also added some todos