better UI thread handling, better cache fallback handling