Add @throttle decorator to reduce the number of GUI updates