Added support for console visualization.
Merge branch 'simpler-visualization'