Fix archive dnd
Fix rename dataset
Fix reference counting on postgis connection