BL-482: Scrollbar in image dialog is sticking

This is probably the one we want to use.
Should we do something to prevent this thread living forever? Maybe we can immediately join with the thread, thus pausing the main one until the dialog closes, then kill it? Or start a timer that will kill it once it finishes?