New 4D visualizer
Fix bugs