Fixes for some bugs related to DataTables, InstanceQueryDataSource, and
component error handling.