visualization_widget: remove unnecessary global locks