rework the pdl_selector a bit since we've slightly changed the way layouts are stored.