visualizer: prevent app crash when visualizer fails to initualize