Added debugging toggle for graph and text debugging information.