added checks for convergence and poor controller performance