Refactored code in browser fragments to use new global method for sending UI update messages.