SC optimization
added -profile option to visualizers. also replaced sys.exit() with a cleaner shutdown.
further possibilities for profiling visualizers
fixed bug in visualizer.py causing argument errors
refactoring