Refactors visualization to use process dispatcher