Added throttle code to prevent overflow from synchronous browser events.