Fixed a couple of bugs related to settings for datasources and panes.