Improved error handling of broken queries.
When picking patches, the dbpatcher patch is automatically selected to be applied without prompting the user.