Quick fix for GUI updating.