Added a new visualization mode, removed useless calls to drawing functions