This reverts commit 96ebac646d. There are some valid cases where refill is called from the GUI thread. e.g adding tracks, or adding channels to an existing track.
96ebac646d