Proposed fix for downloader issues.
Delay the actual code generation by a few hundred ms. Basically acts as a debouncer, if multiple requests to regenerate code come in quickly, only do the most recent one.