Allow journal licenses to be deleted. Some other fixes.