Added GlobalSettings.queryCompletionListener/queryFailureListener support