Added return data to CaseLoader, also added a casesLoaded event