Code snippet: https://gist.github.com/r2dbg/14189258e9daee2cece6
I'd like for the spinner on line 23 to spin while do_work() is running and stop after do_work returns. However, I can't seem to find a good way to do this. The form is blocking until all fields in plugsampler() are fulfilled.