You can't call any GUI functions from another thread. You must do the override cursor calls in the main thread.