Fix: user interface sometimes stops responding.