[IMP] improved fragment loading, added background task from main scope, query updated